-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
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.
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.
- csr for
-
JDK-8366882 Parallel: Obsolete HeapMaximumCompactionInterval
-
- Closed
-
- links to
-
Review(master) openjdk/jdk/27091