RFR (XS): 8153167: Allow stack walking pass through method handle intrinsic frames
zoltan.majo at oracle.com
Thu Mar 31 13:02:38 UTC 2016
please review the patch for 8153167.
Problem: Currently, stack walking is stopped when frame of a method
handle intrinsic is encountered (i.e., a method handle intrinsic is not
considered as a "safe" sender) . (Tobias drew my attention to this
The restriction was added to the frame walking code by JDK-8068945 
and is actually not necessary: Since JDK-8068945 frames belonging to
method handle intrinsics are also treated as usual compiled frames .
Solution: Remove the unnecessary condition.
- several runs of jstack, pstack, jfr, and Sun Studio Performance
Analyzer tracing a test generating long chains of method handle calls
(with -Xcomp +/-PreserveFramePointer);
- RBT testing is in progress (-Xmixed/-Xcomp +-PreserveFramePointer) and
has shown no failures so far.
More information about the hotspot-compiler-dev