1 /*
2 * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
259 " maximum young gen size.") \
260 \
261 experimental(uintx, G1MixedGCLiveThresholdPercent, 85, \
262 "Threshold for regions to be considered for inclusion in the " \
263 "collection set of mixed GCs. " \
264 "Regions with live bytes exceeding this will not be collected.") \
265 \
266 product(uintx, G1HeapWastePercent, 5, \
267 "Amount of space, expressed as a percentage of the heap size, " \
268 "that G1 is willing not to collect to avoid expensive GCs.") \
269 \
270 product(uintx, G1MixedGCCountTarget, 8, \
271 "The target number of mixed GCs after a marking cycle.") \
272 \
273 experimental(bool, G1EagerReclaimHumongousObjects, true, \
274 "Try to reclaim dead large objects at every young GC.") \
275 \
276 experimental(bool, G1EagerReclaimHumongousObjectsWithStaleRefs, true, \
277 "Try to reclaim dead large objects that have a few stale " \
278 "references at every young GC.") \
279 \
280 experimental(bool, G1TraceEagerReclaimHumongousObjects, false, \
281 "Print some information about large object liveness " \
282 "at every young GC.") \
283 \
284 experimental(uintx, G1OldCSetRegionThresholdPercent, 10, \
285 "An upper bound for the number of old CSet regions expressed " \
286 "as a percentage of the heap size.") \
287 \
288 experimental(ccstr, G1LogLevel, NULL, \
289 "Log level for G1 logging: fine, finer, finest") \
290 \
291 notproduct(bool, G1EvacuationFailureALot, false, \
292 "Force use of evacuation failure handling during certain " \
293 "evacuation pauses") \
294 \
295 develop(uintx, G1EvacuationFailureALotCount, 1000, \
296 "Number of successful evacuations between evacuation failures " \
297 "occurring at object copying") \
298 \
|
1 /*
2 * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
259 " maximum young gen size.") \
260 \
261 experimental(uintx, G1MixedGCLiveThresholdPercent, 85, \
262 "Threshold for regions to be considered for inclusion in the " \
263 "collection set of mixed GCs. " \
264 "Regions with live bytes exceeding this will not be collected.") \
265 \
266 product(uintx, G1HeapWastePercent, 5, \
267 "Amount of space, expressed as a percentage of the heap size, " \
268 "that G1 is willing not to collect to avoid expensive GCs.") \
269 \
270 product(uintx, G1MixedGCCountTarget, 8, \
271 "The target number of mixed GCs after a marking cycle.") \
272 \
273 experimental(bool, G1EagerReclaimHumongousObjects, true, \
274 "Try to reclaim dead large objects at every young GC.") \
275 \
276 experimental(bool, G1EagerReclaimHumongousObjectsWithStaleRefs, true, \
277 "Try to reclaim dead large objects that have a few stale " \
278 "references at every young GC.") \
279 \
280 experimental(bool, G1EagerReclaimHumongousPreSnapshotTypeArrays, true, \
281 "Try to reclaim of dead large typeArray objects even when " \
282 "allocated before an in-progress concurrent mark phase.") \
283 \
284 experimental(bool, G1TraceEagerReclaimHumongousObjects, false, \
285 "Print some information about large object liveness " \
286 "at every young GC.") \
287 \
288 experimental(uintx, G1OldCSetRegionThresholdPercent, 10, \
289 "An upper bound for the number of old CSet regions expressed " \
290 "as a percentage of the heap size.") \
291 \
292 experimental(ccstr, G1LogLevel, NULL, \
293 "Log level for G1 logging: fine, finer, finest") \
294 \
295 notproduct(bool, G1EvacuationFailureALot, false, \
296 "Force use of evacuation failure handling during certain " \
297 "evacuation pauses") \
298 \
299 develop(uintx, G1EvacuationFailureALotCount, 1000, \
300 "Number of successful evacuations between evacuation failures " \
301 "occurring at object copying") \
302 \
|