[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.

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

              Created:
              Updated:
              Resolved: