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

Investigate decreasing the RS scrubbing work in the GC cleanup pause

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • 8u20, 9
    • hotspot
    • gc

      During GC cleanup G1 scrubs the entire remembered set, i.e. removes stale remembered set entries.

      This can take a while for large remembered sets, and lengthens the GC cleanup pause a lot.

      Conceptually it is not necessary to do this RSet scrubbing in the GC cleanup pause - presumably it is currently done there because after marking completed, you get the most gain out of this.

      It could be done concurrently to the mutator or incrementally in other pauses.

      Think of ways to distribute this work across mutator or gc time.

            Unassigned Unassigned
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: