1.1 --- a/src/share/vm/gc_implementation/g1/g1_globals.hpp Wed Jan 18 09:50:16 2012 -0800 1.2 +++ b/src/share/vm/gc_implementation/g1/g1_globals.hpp Wed Feb 15 13:06:53 2012 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -297,7 +297,23 @@ 1.11 \ 1.12 develop(uintx, G1DefaultMaxNewGenPercent, 80, \ 1.13 "Percentage (0-100) of the heap size to use as maximum " \ 1.14 - "young gen size.") 1.15 + "young gen size.") \ 1.16 + \ 1.17 + develop(uintx, G1OldCSetRegionLiveThresholdPercent, 95, \ 1.18 + "Threshold for regions to be added to the collection set. " \ 1.19 + "Regions with more live bytes that this will not be collected.") \ 1.20 + \ 1.21 + develop(uintx, G1OldReclaimableThresholdPercent, 1, \ 1.22 + "Threshold for the remaining old reclaimable bytes, expressed " \ 1.23 + "as a percentage of the heap size. If the old reclaimable bytes " \ 1.24 + "are under this we will not collect them with more mixed GCs.") \ 1.25 + \ 1.26 + develop(uintx, G1MaxMixedGCNum, 4, \ 1.27 + "The maximum desired number of mixed GCs after a marking cycle.") \ 1.28 + \ 1.29 + develop(uintx, G1OldCSetRegionThresholdPercent, 10, \ 1.30 + "An upper bound for the number of old CSet regions expressed " \ 1.31 + "as a percentage of the heap size.") 1.32 1.33 G1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG, DECLARE_MANAGEABLE_FLAG, DECLARE_PRODUCT_RW_FLAG) 1.34