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

G1: Prune rebuild candidates based on G1HeapWastePercent early

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 23
    • hotspot
    • gc
    • b22

      In G1 the G1CollectionSetChooser removes/prunes regions that meet the G1HeapWastePercent criteria detailed in JDK-8262185 in the Cleanup pause. These regions are removed from possible evacuation and their remembered sets cleared.

      This implies that the work done in rebuilding these remembered sets is wasted. We can prune these regions before the rebuild during Remark and thus not construct these remembered sets which would eventually be cleared anyway.

      Moving this pruning improves rebuild time in addition to remembered set memory usage.

            iwalulya Ivan Walulya
            iwalulya Ivan Walulya
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: