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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: 15
    • Component/s: hotspot
    • gc
    • b27

      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.

            Assignee:
            Per Liden (Inactive)
            Reporter:
            Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: