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

G1 Full GC should not process free regions

    XMLWordPrintable

Details

    • gc

    Description

      G1 full gc visits free regions during the various phases of the MSC algorithm.

      This is completely unnecessary, and just slows down performance.

      This mostly affects system.gc calls by the user called on almost empty heaps for whatever reason.

      Anecdotally, system.gc duration at startup for specjvm benchmarks can be decreased by ~15% already by only applying this optimization to the compaction phase (this is a very special case).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: