Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8336663

[JVMCI] VM Crash on ZGC due to incompatible handle returned by HotSpotJVMCIRuntime#getJObjectValue

XMLWordPrintable

    • b09
    • x86
    • linux

      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.

            tzezula Tomáš Zezula
            tzezula Tomáš Zezula
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: