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

Parallel: Obsolete HeapMaximumCompactionInterval

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • gc

      This flag controls the interval of full-GC, where a maximum compaction should occur. This flag is exclusively used by Parallel GC. In a non-maximum compaction full-GC, spaces for some dead objects (controlled by `MarkSweepDeadRatio`) may not be reclaimed, which can reduce full-GC time at the cost of higher post-GC heap usage.

      However, figuring out the right value for this flag is often challenging, because it requires deep insight into the app allocation behavior and live set. Additionally, the optimal value might be dynamic, e.g. phase depended.

      Remove this flag to let GC decide whether a maximum compaction should performed based on internal metrics, such as live set size, old-gen usage, etc.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: