United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7113012 G1: rename not-fully-young GCs as "mixed"
JDK-7113012 : G1: rename not-fully-young GCs as "mixed"

Details
Type:
Enhancement
Submit Date:
2011-11-17
Status:
Closed
Updated Date:
2012-03-29
Project Name:
JDK
Resolved Date:
2012-01-20
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs23
Fixed Versions:
hs23 (b09)

Related Reports
Backport:
Backport:

Sub Tasks

Description
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.

                                    

Comments
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
                                     
2011-12-08
EVALUATION

See Description.
                                     
2011-12-08
EVALUATION

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

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/41406797186b
                                     
2012-03-22



Hardware and Software, Engineered to Work Together