RFR: 8146416: java.lang.OutOfMemoryError triggers: assert(current_bci == 0) failed: bci isn't zero for do_not_unlock_if_synchronized

Roland Westrelin rwestrel at redhat.com
Thu Jun 2 11:32:37 UTC 2016


> revised webrev: http://cr.openjdk.java.net/~jcm/8146416/webrev.02/

Thanks for making the change.

In vframeArrayElement::unpack_on_stack(), for jvmti's early return, I
think you want to call state->clear_earlyret_pending() otherwise the
early ret is still pending and that could lead to an unexpected
behaviour. 

In your test cases, I would suggest bumping the heap size to avoid
future problems with the test case like this one:

https://bugs.openjdk.java.net/browse/JDK-8042557

Does DeoptReallocFailureUncommonTrap.java cover a case that's not
covered by test/compiler/uncommontrap/TestDeoptOOM.java? Does it fail
with jvmci/graal?

Roland.


More information about the hotspot-compiler-dev mailing list