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

Skip work for empty regions in G1 Full GC

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 18
    • 17
    • hotspot
    • gc
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: