Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8288375 | 20 | Martin Doerr | P3 | Resolved | Fixed | b02 |
VM crashes with "guarantee(last != NULL) failed: last may not be null" when running with -XX:+VerifyStack after JDK-8284161 (debug build only).
Can be reproduced in tests like:
compiler/c2/cr6589834/Test_ia32.java
testlibrary_tests/ir_framework/tests/TestDFlags.java
compiler/uncommontrap/TestDeoptOOM.java
compiler/interpreter/TestVerifyStackAfterDeopt.java
compiler/interpreter/VerifyStackWithUnreachableBlock.java
Stack frames get analyzed in Deoptimization::unpack_frames which is a JRT_LEAF function. That doesn't work reliably in general and currently doesn't work on PPC64 because the deoptimization and uncommon trap stubs don't set the last Java PC to where the OopMaps are.
Can be reproduced in tests like:
compiler/c2/cr6589834/Test_ia32.java
testlibrary_tests/ir_framework/tests/TestDFlags.java
compiler/uncommontrap/TestDeoptOOM.java
compiler/interpreter/TestVerifyStackAfterDeopt.java
compiler/interpreter/VerifyStackWithUnreachableBlock.java
Stack frames get analyzed in Deoptimization::unpack_frames which is a JRT_LEAF function. That doesn't work reliably in general and currently doesn't work on PPC64 because the deoptimization and uncommon trap stubs don't set the last Java PC to where the OopMaps are.
- backported by
-
JDK-8288375 [PPC64] Problems with -XX:+VerifyStack
- Resolved
- relates to
-
JDK-8299683 [S390X] Problems with -XX:+VerifyStack
- Resolved
-
JDK-8286302 Port JEP 425 to PPC64
- Resolved