RFR 8019389: SA-JDI JSR292: sun.jvm.hotspot.jdi.StackFrame.thisObject() throws sun.jvm.hotspot.utilities.AssertionFailure: sanity check

Olivier Lagneau olivier.lagneau at oracle.com
Mon Jan 20 06:51:15 PST 2014


Please review the following simple fix.

Issue: https://bugs.openjdk.java.net/browse/JDK-8019389
Webrev: http://cr.openjdk.java.net/~olagneau/8019389/webrev.00/ 
<http://cr.openjdk.java.net/%7Eolagneau/8019389/webrev.00/>

The issue is due to the fact that _invokeHandle bytecode is generated by 
hotspot,
but is not declared in agent code. Just declaring the new bytecode 
solves the assertion failure.

However the tests reported in 8019389 
(bootstrapOtherStratumInStackTrace, targetOtherStratumInStackTrace)
suffer the problem from JDK-7016268 
<https://bugs.openjdk.java.net/browse/JDK-7016268> : Can't get strata 
information through SA-JDI
Thus, the "stratum mismatch" related to JDK-7016268 will still be 
present after fix.
This second problem has to be fixed through JDK-7016268.

Thanks,
Olivier.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20140120/d23cb365/attachment.html 


More information about the serviceability-dev mailing list