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

Cleanup G1 locking during nmethod removal during code cache unloading

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • 13
    • hotspot
    • 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

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

              Dates

                Created:
                Updated: