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

Improve Parallel GC Full GC by caching results of live_words_in_range()

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b107

      Description

      The change addresses an inefficiency in the live_words_in_range() routine in ParallelScavenge Full GC, which generally costs most of the time during the compacting phase.

      The idea records last query information of live_words_in_range as well as the query result. The approach reuses last query result so that can reduce much computation of bitmap searching.

      Manual testing of full GC intensive applications including JOlden, Dacapo, SPECjvm2008 benchmarks.
      Results show that our enhancement can reduce much full GC time by 20~50%, depending on application scenarios.

      Contributed by ray alex <sky1young@gmail.com>
      Mailing list thread start: http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2015-December/015899.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tschatzl Thomas Schatzl
                Reporter:
                tschatzl Thomas Schatzl
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: