comparison src/share/vm/gc_implementation/g1/g1_globals.hpp @ 2181:d25d4ca69222

Merge.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Wed, 16 Feb 2011 13:47:20 +0100
parents 234761c55641
children c33825b68624
comparison
equal deleted inserted replaced
2108:50b45e2d9725 2181:d25d4ca69222
1 /* 1 /*
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 2011, 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.
73 "The period (in number of GCs) at which we will generate " \ 73 "The period (in number of GCs) at which we will generate " \
74 "update buffer processing info " \ 74 "update buffer processing info " \
75 "(0 means do not periodically generate this info); " \ 75 "(0 means do not periodically generate this info); " \
76 "it also requires -XX:+G1SummarizeRSetStats") \ 76 "it also requires -XX:+G1SummarizeRSetStats") \
77 \ 77 \
78 diagnostic(bool, G1SummarizeZFStats, false, \
79 "Summarize zero-filling info") \
80 \
81 diagnostic(bool, G1TraceConcRefinement, false, \ 78 diagnostic(bool, G1TraceConcRefinement, false, \
82 "Trace G1 concurrent refinement") \ 79 "Trace G1 concurrent refinement") \
83 \ 80 \
84 product(intx, G1MarkRegionStackSize, 1024 * 1024, \ 81 product(intx, G1MarkRegionStackSize, 1024 * 1024, \
85 "Size of the region stack for concurrent marking.") \ 82 "Size of the region stack for concurrent marking.") \
86 \ 83 \
87 develop(bool, G1ConcZeroFill, true, \ 84 product(double, G1ConcMarkStepDurationMillis, 10.0, \
88 "If true, run concurrent zero-filling thread") \ 85 "Target duration of individual concurrent marking steps " \
89 \ 86 "in milliseconds.") \
90 develop(intx, G1ConcZFMaxRegions, 1, \ 87 \
91 "Stop zero-filling when # of zf'd regions reaches") \ 88 product(intx, G1RefProcDrainInterval, 10, \
89 "The number of discovered reference objects to process before " \
90 "draining concurrent marking work queues.") \
92 \ 91 \
93 develop(bool, G1SATBBarrierPrintNullPreVals, false, \ 92 develop(bool, G1SATBBarrierPrintNullPreVals, false, \
94 "If true, count frac of ptr writes with null pre-vals.") \ 93 "If true, count frac of ptr writes with null pre-vals.") \
95 \ 94 \
96 product(intx, G1SATBBufferSize, 1*K, \ 95 product(intx, G1SATBBufferSize, 1*K, \
97 "Number of entries in an SATB log buffer.") \ 96 "Number of entries in an SATB log buffer.") \
98 \ 97 \
99 develop(intx, G1SATBProcessCompletedThreshold, 20, \ 98 develop(intx, G1SATBProcessCompletedThreshold, 20, \
100 "Number of completed buffers that triggers log processing.") \ 99 "Number of completed buffers that triggers log processing.") \
100 \
101 product(uintx, G1SATBBufferEnqueueingThresholdPercent, 60, \
102 "Before enqueueing them, each mutator thread tries to do some " \
103 "filtering on the SATB buffers it generates. If post-filtering " \
104 "the percentage of retained entries is over this threshold " \
105 "the buffer will be enqueued for processing. A value of 0 " \
106 "specifies that mutator threads should not do such filtering.") \
101 \ 107 \
102 develop(intx, G1ExtraRegionSurvRate, 33, \ 108 develop(intx, G1ExtraRegionSurvRate, 33, \
103 "If the young survival rate is S, and there's room left in " \ 109 "If the young survival rate is S, and there's room left in " \
104 "to-space, we will allow regions whose survival rate is up to " \ 110 "to-space, we will allow regions whose survival rate is up to " \
105 "S + (1 - S)*X, where X is this parameter (as a fraction.)") \ 111 "S + (1 - S)*X, where X is this parameter (as a fraction.)") \
280 \ 286 \
281 product(uintx, G1RSetScanBlockSize, 64, \ 287 product(uintx, G1RSetScanBlockSize, 64, \
282 "Size of a work unit of cards claimed by a worker thread" \ 288 "Size of a work unit of cards claimed by a worker thread" \
283 "during RSet scanning.") \ 289 "during RSet scanning.") \
284 \ 290 \
285 develop(bool, ReduceInitialCardMarksForG1, false, \ 291 develop(uintx, G1SecondaryFreeListAppendLength, 5, \
292 "The number of regions we will add to the secondary free list " \
293 "at every append operation") \
294 \
295 develop(bool, G1ConcRegionFreeingVerbose, false, \
296 "Enables verboseness during concurrent region freeing") \
297 \
298 develop(bool, G1StressConcRegionFreeing, false, \
299 "It stresses the concurrent region freeing operation") \
300 \
301 develop(uintx, G1StressConcRegionFreeingDelayMillis, 0, \
302 "Artificial delay during concurrent region freeing") \
303 \
304 develop(bool, ReduceInitialCardMarksForG1, false, \
286 "When ReduceInitialCardMarks is true, this flag setting " \ 305 "When ReduceInitialCardMarks is true, this flag setting " \
287 " controls whether G1 allows the RICM optimization") 306 " controls whether G1 allows the RICM optimization")
288 307
289 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) 308 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)
290 309