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

ZGC: Extract allocation functionality into a new ZNMethodAllocator class

    XMLWordPrintable

    Details

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

      Description

      ZNMethodData delegates the responsibility to safely free it's memory to ZNMethodTable. I propose we break this dependency by introducing a ZNMethodAllocator class that both classes can use.

      This is a step towards decoupling the ZNMethodTable implementation from the ZGC class unloading code.

        Attachments

          Activity

            People

            Assignee:
            stefank Stefan Karlsson
            Reporter:
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: