JDK-8268393 : Consolidate upgrade to full gc paths in G1
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 17
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-06-08
  • Updated: 2021-06-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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
During review of JDK-8268163 we noticed that there are quite a few cases where G1 may upgrade a young collection to a full collection of some sort; this upgrade is implemented in different places, with different types of upgrades (e.g. first do nothing special apart from the full gc, then clear soft refs only and gc, then do a maximally compacting gc, OR only do a soft-ref clearing full gc and possibly other variants).

Consolidate the reactions on "upgrade" of a full gc possibly in a single code path; maybe also look into whether there is more to refactor.