JDK-7113012 : G1: rename not-fully-young GCs as "mixed"
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs23
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-11-17
  • Updated: 2013-09-18
  • Resolved: 2012-01-20
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 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
In G1, "full-young" GCs are GCs that collect only young regions, "partially-young" GCs are GCs that collect both young (eden / survivors) and old regions. We are not very happy with this terminology, especially the latter. So, we would like to rename them to "young" and "mixed". We should at least change all the output to conform to this terminology, i.e., it's not necessary to also change all variable names, comments, etc. - we can do that over time.

EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/41406797186b

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/41406797186b

PUBLIC COMMENTS It turns out the fields / methods / comments that have the full/fully young / partial terminology are not that many. So, I'm going to go ahead and rename them. Below are the ones that are used most and how they will be renamed: _full_young_gcs -> _gcs_are_young full_young_gcs() -> gcs_are_young() set_full_young_gcs() -> set_gcs_are_young() _should_revert_to_full_young_gcs -> _should_revert_to_young_gcs _last_full_young_gc -> _last_young_gc _last_young_gc_full -> _last_gc_was_young

EVALUATION See Description.