The `HotSpotJVMCIRuntime#getJObjectValue` method returns a JVMCI handle that is subsequently used by the Truffle shared library compiler as a JNI handle. This handles incompatibility leads to random VM crashes when ZGC is enabled. For details see attach HotSpot crash log file.
Proposed Solution:
The `HotSpotJVMCIRuntime#getJObjectValue` method should be modified to return a real JNI handle instead of a JVMCI handle.
Proposed Solution:
The `HotSpotJVMCIRuntime#getJObjectValue` method should be modified to return a real JNI handle instead of a JVMCI handle.
- relates to
-
JDK-8303678 [JVMCI] Add possibility to convert object JavaConstant to jobject.
- Resolved
- links to
-
Commit(master) openjdk/jdk/3abe8a6e
-
Review(master) openjdk/jdk/20219