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

Cleanup G1 locking during nmethod removal during code cache unloading

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 13
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      JDK-8224875 showed that G1 uses some ugly MutexLocker trick (using NULL as mutex in some cases) to do proper locking when doing nmethod removal during code cache unloading.

      Try to remove the need for passing NULL in the MutexLocker to make the code less surprising.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: