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

JVMCI deleteGlobalHandle doesn't delete the handle

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b31

      Backports

        Description

        The deleteGlobalHandle function in jvmciCompilerToVM.cpp was not updated from the old JNIHandleBlock implementation when these global handles were changed to use OopStorage. So instead of calling OopStorage::release, deleteGlobalHandles just leaks the handle.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kvn Vladimir Kozlov
                  Reporter:
                  kbarrett Kim Barrett
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: