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

ZGC: Free ZNMethodDataOops under a lock

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b10

      Description

      Today, the ZNMethodDataOops use a custom deferred freeing mechanism to handle the case where C1 performs code patching that generates more immediate oops, while the GC is concurrently walking the code cache for class unloading.
      It would be nice to use GlobalCounter instead, which is a more standardized way of doing it.

        Attachments

          Activity

            People

            • Assignee:
              eosterlund Erik Ă–sterlund
              Reporter:
              eosterlund Erik Ă–sterlund
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: