JDK-8273882 : Only enable preventive garbage collections if humongous eager reclaim is enabled
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 18
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-09-16
  • Updated: 2021-12-09
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.
JDK 19
19Unresolved
Related Reports
Relates :  
Relates :  
Description
Preventive garbage collections are scheduled in advance to avoid evacuation failures in the hope that these garbage collections free up space - space to be reclaimed from humongous objects using eager reclaim.

For this reason, if eager reclaim is disabled, preventive collections should also be disabled as eager reclaim is the only way to reclaim space (in old gen) during young collections.