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

Skip work for empty regions in G1 Full GC

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 18
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b12

      Description

      In the G1 Full GC we now have a concept of setting attributes for regions. This is used for a few different things like if a region should be compacted. We could extend this to keep track of which regions were empty at the beginning of the Full GC and skip doing work for them in phase doing work per region. This will mostly be an enhancement for System.GC calls, because in most normal Full collections there are no or very few empty regions. But cases like the one in JDK-8267703 would also benefit.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iwalulya Ivan Walulya
              Reporter:
              sjohanss Stefan Johansson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: