RFR: 8336663: [JVMCI] VM Crash on ZGC due to incompatible handle returned by HotSpotJVMCIRuntime#getConstantValue.

Tomáš Zezula duke at openjdk.org
Wed Jul 17 17:14:17 UTC 2024


The `HotSpotJVMCIRuntime#getConstantValue` method returns a real JNI local handle instead of a JVMCI handle to prevent random crashes on ZGC.

-------------

Commit messages:
 - JDK-8336663: [JVMCI] VM Crash on ZGC due to incompatible handle returned by HotSpotJVMCIRuntime#getConstantValue.

Changes: https://git.openjdk.org/jdk/pull/20219/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20219&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8336663
  Stats: 32 lines in 3 files changed: 22 ins; 7 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/20219.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20219/head:pull/20219

PR: https://git.openjdk.org/jdk/pull/20219


More information about the hotspot-compiler-dev mailing list