comparison src/share/vm/gc_implementation/g1/g1_globals.hpp @ 3232:21595f05bc93

7146246: G1: expose some of the -XX flags that drive which old regions to collect during mixed GCs Summary: Make two G1 cmd line flags available in product builds: G1HeapWastePercent (previously called: G1OldReclaimableThresholdPercent) and G1MixedGCCountTarget (previous called: G1MaxMixedGCNum). Also changed the default of the former from 1% to 5% and the default for G1OldCSetRegionLiveThresholdPercent to 90%. Reviewed-by: azeemj, jwilhelm, johnc
author tonyp
date Fri, 23 Mar 2012 10:53:19 -0400
parents a9647476d1a4
children 2a0172480595
comparison
equal deleted inserted replaced
58:c29ef808ea0a 59:5be4e1189736
297 \ 297 \
298 develop(uintx, G1DefaultMaxNewGenPercent, 80, \ 298 develop(uintx, G1DefaultMaxNewGenPercent, 80, \
299 "Percentage (0-100) of the heap size to use as maximum " \ 299 "Percentage (0-100) of the heap size to use as maximum " \
300 "young gen size.") \ 300 "young gen size.") \
301 \ 301 \
302 develop(uintx, G1OldCSetRegionLiveThresholdPercent, 95, \ 302 develop(uintx, G1OldCSetRegionLiveThresholdPercent, 90, \
303 "Threshold for regions to be added to the collection set. " \ 303 "Threshold for regions to be added to the collection set. " \
304 "Regions with more live bytes that this will not be collected.") \ 304 "Regions with more live bytes that this will not be collected.") \
305 \ 305 \
306 develop(uintx, G1OldReclaimableThresholdPercent, 1, \ 306 product(uintx, G1HeapWastePercent, 5, \
307 "Threshold for the remaining old reclaimable bytes, expressed " \ 307 "Amount of space, expressed as a percentage of the heap size, " \
308 "as a percentage of the heap size. If the old reclaimable bytes " \ 308 "that G1 is willing not to collect to avoid expensive GCs.") \
309 "are under this we will not collect them with more mixed GCs.") \ 309 \
310 \ 310 product(uintx, G1MixedGCCountTarget, 4, \
311 develop(uintx, G1MaxMixedGCNum, 4, \ 311 "The target number of mixed GCs after a marking cycle.") \
312 "The maximum desired number of mixed GCs after a marking cycle.") \
313 \ 312 \
314 develop(uintx, G1OldCSetRegionThresholdPercent, 10, \ 313 develop(uintx, G1OldCSetRegionThresholdPercent, 10, \
315 "An upper bound for the number of old CSet regions expressed " \ 314 "An upper bound for the number of old CSet regions expressed " \
316 "as a percentage of the heap size.") 315 "as a percentage of the heap size.")
317 316