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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • 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.

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

              Created:
              Updated: