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

ZGC: Don't hold the ZPageAllocator lock while committing/uncommitting memory

    Details

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

      Description

      We're currently holding the ZPageAllocator lock while performing a number of expensive operations, such as committing and uncommitting memory. This can have a very negative impact on latency, for example, when a Java thread is trying to allocate a page from the page cache while the ZUncommitter thread is uncommitting a portion of the heap.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pliden Per Liden
                Reporter:
                pliden Per Liden
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: