ZGC: Select pages in need of defragmentation for the relocation set

XMLWordPrintable

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

      Since JDK-8340426 small pages can reside at high addresses. To avoid fragmentation these pages are defragmented when freed by a GC thread. There is a risk that this will not happen for a long period of time if the page in question is used by the old generation and holds a lot of long lived objects.

      It could make sense to add logic to allow such pages to be selected for relocation even if they don't contain a lot of garbage.

            Assignee:
            Unassigned
            Reporter:
            Stefan Johansson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: