1 /* |
1 /* |
2 * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
295 "Percentage (0-100) of the heap size to use as minimum " \ |
295 "Percentage (0-100) of the heap size to use as minimum " \ |
296 "young gen size.") \ |
296 "young gen size.") \ |
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 \ |
|
302 develop(uintx, G1OldCSetRegionLiveThresholdPercent, 95, \ |
|
303 "Threshold for regions to be added to the collection set. " \ |
|
304 "Regions with more live bytes that this will not be collected.") \ |
|
305 \ |
|
306 develop(uintx, G1OldReclaimableThresholdPercent, 1, \ |
|
307 "Threshold for the remaining old reclaimable bytes, expressed " \ |
|
308 "as a percentage of the heap size. If the old reclaimable bytes " \ |
|
309 "are under this we will not collect them with more mixed GCs.") \ |
|
310 \ |
|
311 develop(uintx, G1MaxMixedGCNum, 4, \ |
|
312 "The maximum desired number of mixed GCs after a marking cycle.") \ |
|
313 \ |
|
314 develop(uintx, G1OldCSetRegionThresholdPercent, 10, \ |
|
315 "An upper bound for the number of old CSet regions expressed " \ |
|
316 "as a percentage of the heap size.") |
301 |
317 |
302 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) |
318 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) |
303 |
319 |
304 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP |
320 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP |