United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6937160 G1: should observe GCTimeRatio
6937160 : G1: should observe GCTimeRatio

Details
Type:
Enhancement
Submit Date:
2010-03-22
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs18
Fixed Versions:
hs18

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
Currently, G1 uses the G1GCPercent flag to determine what should be its target GC overhead. The flag is non-product. We recently made changes to the G1 flags to use existing ones where possible (see 6928059 for example).  So G1 should instead observe the existing GCTimeRatio flag instead of introducing a new one.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hsx17/master/rev/a71b16365b3b
                                     
2010-04-09
EVALUATION

http://hg.openjdk.java.net/hsx/hsx17/baseline/rev/a71b16365b3b
                                     
2010-04-08
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/56507bcd639e
                                     
2010-04-03
SUGGESTED FIX

See Public Comments.
                                     
2010-03-26
PUBLIC COMMENTS

This is straightforward to implement. I will remove the G1GCPercent parameter and use GCTimeRatio to define the desired GC overhead for G1.
                                     
2010-03-26
EVALUATION

See Public Comments.
                                     
2010-03-26



Hardware and Software, Engineered to Work Together