United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6929868 : G1: introduce min / max young gen size bounds

Details
Type:
Enhancement
Submit Date:
2010-02-25
Status:
Closed
Updated Date:
2013-10-04
Project Name:
JDK
Resolved Date:
2011-11-28
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs18,hs21
Fixed Versions:
hs22 (b05)

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

Sub Tasks

Description
Right now, when the young gen size auto-tuning in G1 is enabled (with UseAdaptiveSizePolicy), G1 sets the young gen size to what the ergonomic code calculates and does not obey and min / max bounds (even if NewSize / MaxNewSize have been explicitly set).

We should introduce min / max young gen size limits. The defaults of those limits should be very aggressive (e.g., maybe 1-2 regions for min, 50% of the heap for max). Those limits should be also settable by the user with NewSize / MaxNewSize.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/af2ab04e0038
                                     
2011-09-08
EVALUATION

See main CR
                                     
2011-09-12



Hardware and Software, Engineered to Work Together