JDK-8338977 : Parallel: Improve heap resizing heuristics
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2024-08-26
  • Updated: 2025-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Some changes in Parallel altered the GC behavior, and the adaptive-size-policy balancing mutator-throughput and generation/heap is specially tuned to the old GC behavior, so the heuristics cause some regressions in out-of-the-box performance observed in JDK-8333227, JDK-8338689 and JDK-8332485. All those regressions can be worked around using manually set generation/heap sizes. However, some work should be done to address the out-of-the-box performance of those benchmarks.

Improve the heuristics (such as, taking gc-frequency into account, proactive full-gc to clear out floating garbage in old-gen, lazy-generation shrinking, etc) to restore the out-of-the-box performance.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/25000 Date: 2025-05-02 10:23:25 +0000
02-05-2025