Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8204686 Dynamic parallel reference processing support for Parallel GC
  3. JDK-8268105

Release Note: Parallel GC Enables Adaptive Parallel Reference Processing by Default

XMLWordPrintable

    • gc
    • Verified

      Parallel GC now ergonomically determines the optimal number of threads to use for processing `java.lang.ref.Reference` instances during garbage collection. The option `-XX:ParallelRefProcEnabled` is now `true` (enabled) by default.

      The change improves this phase of the garbage collection pause significantly on machines with more than one thread available for garbage collection.

      If you experience increased garbage collection pauses, you can revert to the original behavior by specifying `-XX:-ParallelRefProcEnabled` on the command line.

      The ergonomics of `java.lang.ref.Reference` processing can be tuned by using the experimental option `-XX:ReferencesPerThread` (default value: 1000).

            lkorinth Leo Korinth
            lkorinth Leo Korinth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: