comparison src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp @ 7449:37f7535e5f18

8001424: G1: Rename certain G1-specific flags Summary: Rename G1DefaultMinNewGenPercent, G1DefaultMaxNewGenPercent, and G1OldCSetRegionLiveThresholdPercent to G1NewSizePercent, G1MaxNewSizePercent, and G1MixedGCLiveThresholdPercent respectively. The previous names are no longer accepted. Reviewed-by: brutisso, ysr
author johnc
date Fri, 21 Dec 2012 11:45:34 -0800
parents 22b8d3d181d9
children 27714220e50e
comparison
equal deleted inserted replaced
7448:b735136e0d82 7449:37f7535e5f18
92 // size. Also, these are general options taking byte sizes. G1 will 92 // size. Also, these are general options taking byte sizes. G1 will
93 // internally work with a number of regions instead. So, some rounding 93 // internally work with a number of regions instead. So, some rounding
94 // will occur. 94 // will occur.
95 // 95 //
96 // If nothing related to the the young gen size is set on the command 96 // If nothing related to the the young gen size is set on the command
97 // line we should allow the young gen to be between 97 // line we should allow the young gen to be between G1NewSizePercent
98 // G1DefaultMinNewGenPercent and G1DefaultMaxNewGenPercent of the 98 // and G1MaxNewSizePercent of the heap size. This means that every time
99 // heap size. This means that every time the heap size changes the 99 // the heap size changes, the limits for the young gen size will be
100 // limits for the young gen size will be updated. 100 // recalculated.
101 // 101 //
102 // If only -XX:NewSize is set we should use the specified value as the 102 // If only -XX:NewSize is set we should use the specified value as the
103 // minimum size for young gen. Still using G1DefaultMaxNewGenPercent 103 // minimum size for young gen. Still using G1MaxNewSizePercent of the
104 // of the heap as maximum. 104 // heap as maximum.
105 // 105 //
106 // If only -XX:MaxNewSize is set we should use the specified value as the 106 // If only -XX:MaxNewSize is set we should use the specified value as the
107 // maximum size for young gen. Still using G1DefaultMinNewGenPercent 107 // maximum size for young gen. Still using G1NewSizePercent of the heap
108 // of the heap as minimum. 108 // as minimum.
109 // 109 //
110 // If -XX:NewSize and -XX:MaxNewSize are both specified we use these values. 110 // If -XX:NewSize and -XX:MaxNewSize are both specified we use these values.
111 // No updates when the heap size changes. There is a special case when 111 // No updates when the heap size changes. There is a special case when
112 // NewSize==MaxNewSize. This is interpreted as "fixed" and will use a 112 // NewSize==MaxNewSize. This is interpreted as "fixed" and will use a
113 // different heuristic for calculating the collection set when we do mixed 113 // different heuristic for calculating the collection set when we do mixed