G1: Return early from Full-GC if no regions are selected for compaction.

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 21
    • Affects Version/s: 21
    • Component/s: hotspot
    • gc
    • b12

      For some cases, during the `phase2_prepare_compaction` no regions are selected for compaction due to a high live ratio in all regions.

      In these cases, we should skip the remaining adjust and compaction phases of the Full-GC and return early.

            Assignee:
            Ivan Walulya
            Reporter:
            Ivan Walulya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: