RFR (XS): 8153167: Allow stack walking pass through method handle intrinsic frames
zoltan.majo at oracle.com
Thu Mar 31 14:07:14 UTC 2016
let's put this RFR on hold -- I've just got an error message after my
80th run with the Sun Studio Performance Analyzer. Sorry for the noise.
On 03/31/2016 03:02 PM, Zoltán Majó wrote:
> 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 issue.)
> 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.
> - JPRT;
> - 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.
> Thank you!
> Best regards,
> : http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/382e9e4b3b71#l9.9
> : http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/382e9e4b3b71#l9.41
More information about the hotspot-compiler-dev