1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp Wed Jan 02 11:32:41 2013 -0800 1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp Fri Dec 21 11:45:34 2012 -0800 1.3 @@ -94,18 +94,18 @@ 1.4 // will occur. 1.5 // 1.6 // If nothing related to the the young gen size is set on the command 1.7 -// line we should allow the young gen to be between 1.8 -// G1DefaultMinNewGenPercent and G1DefaultMaxNewGenPercent of the 1.9 -// heap size. This means that every time the heap size changes the 1.10 -// limits for the young gen size will be updated. 1.11 +// line we should allow the young gen to be between G1NewSizePercent 1.12 +// and G1MaxNewSizePercent of the heap size. This means that every time 1.13 +// the heap size changes, the limits for the young gen size will be 1.14 +// recalculated. 1.15 // 1.16 // If only -XX:NewSize is set we should use the specified value as the 1.17 -// minimum size for young gen. Still using G1DefaultMaxNewGenPercent 1.18 -// of the heap as maximum. 1.19 +// minimum size for young gen. Still using G1MaxNewSizePercent of the 1.20 +// heap as maximum. 1.21 // 1.22 // If only -XX:MaxNewSize is set we should use the specified value as the 1.23 -// maximum size for young gen. Still using G1DefaultMinNewGenPercent 1.24 -// of the heap as minimum. 1.25 +// maximum size for young gen. Still using G1NewSizePercent of the heap 1.26 +// as minimum. 1.27 // 1.28 // If -XX:NewSize and -XX:MaxNewSize are both specified we use these values. 1.29 // No updates when the heap size changes. There is a special case when