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

[JVMCI] release JNI handles in shared library properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:

      Description

      Interfacing with the JVMCI shared library uses JNI which means calls into the shared library from the VM that return object values will be holding onto a local JNI handle. To release this handle, the call needs to be in the scope of a JNI local handles frame that releases the local handles when the scope exits.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dnsimon Douglas Simon
              Reporter:
              dnsimon Douglas Simon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: