G1: Return memory in SATB buffer allocator to OS

XMLWordPrintable

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

      For `G1BarrierSet::_satb_mark_queue_buffer_allocator`, in remark, after deactivation.

      Perhaps the underlying free list should free most or all, to release memory while not doing concurrent GC. There’s little point in carrying them around while concurrent marking is not happening.

      The removed `reduce_free_list` in JDK-8286387 might provide much inspiration, even if the code can't be used verbatim.

            Assignee:
            Unassigned
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: