ParallelGC: Cooperative pretouch for oldgen expansion

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 17
    • Component/s: hotspot
    • gc

      ParallelGC young collections sometimes need to allocate in the oldgen, and sometimes those allocations need to expand the oldgen. Currently that expansion is serial (under the ExpandHeap_lock), but most of the work is relatively quick. However, the optional pretouch of the expanded space is potentially long-running, possibly being a significant serialization point, as multiple threads come to wait for oldgen expansion. It would be better if those otherwise waiting threads could help with the pretouch.

            Assignee:
            Kim Barrett
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: