comparison src/share/vm/gc_implementation/g1/g1_globals.hpp @ 1286:ab75c83d7c37

Merge
author johnc
date Tue, 02 Mar 2010 13:57:46 -0800
parents a1c410de27e4
children 56507bcd639e
comparison
equal deleted inserted replaced
1281:7d236a9688c5 1286:ab75c83d7c37
35 "Confidence level for MMU/pause predictions") \ 35 "Confidence level for MMU/pause predictions") \
36 \ 36 \
37 develop(intx, G1MarkingOverheadPercent, 0, \ 37 develop(intx, G1MarkingOverheadPercent, 0, \
38 "Overhead of concurrent marking") \ 38 "Overhead of concurrent marking") \
39 \ 39 \
40 product(uintx, G1YoungGenSize, 0, \
41 "Size of the G1 young generation, 0 is the adaptive policy") \
42 \
43 develop(bool, G1Gen, true, \ 40 develop(bool, G1Gen, true, \
44 "If true, it will enable the generational G1") \ 41 "If true, it will enable the generational G1") \
45 \ 42 \
46 develop(intx, G1GCPercent, 10, \ 43 develop(intx, G1GCPercent, 10, \
47 "The desired percent time spent on GC") \ 44 "The desired percent time spent on GC") \
68 "If true, extra debugging code for CM restart for ovflw.") \ 65 "If true, extra debugging code for CM restart for ovflw.") \
69 \ 66 \
70 develop(intx, G1PausesBtwnConcMark, -1, \ 67 develop(intx, G1PausesBtwnConcMark, -1, \
71 "If positive, fixed number of pauses between conc markings") \ 68 "If positive, fixed number of pauses between conc markings") \
72 \ 69 \
73 diagnostic(bool, G1SummarizeConcurrentMark, false, \ 70 diagnostic(bool, G1SummarizeConcMark, false, \
74 "Summarize concurrent mark info") \ 71 "Summarize concurrent mark info") \
75 \ 72 \
76 diagnostic(bool, G1SummarizeRSetStats, false, \ 73 diagnostic(bool, G1SummarizeRSetStats, false, \
77 "Summarize remembered set processing info") \ 74 "Summarize remembered set processing info") \
78 \ 75 \
83 "it also requires -XX:+G1SummarizeRSetStats") \ 80 "it also requires -XX:+G1SummarizeRSetStats") \
84 \ 81 \
85 diagnostic(bool, G1SummarizeZFStats, false, \ 82 diagnostic(bool, G1SummarizeZFStats, false, \
86 "Summarize zero-filling info") \ 83 "Summarize zero-filling info") \
87 \ 84 \
88 diagnostic(bool, G1TraceConcurrentRefinement, false, \ 85 diagnostic(bool, G1TraceConcRefinement, false, \
89 "Trace G1 concurrent refinement") \ 86 "Trace G1 concurrent refinement") \
90 \
91 product(intx, G1MarkStackSize, 2 * 1024 * 1024, \
92 "Size of the mark stack for concurrent marking.") \
93 \ 87 \
94 product(intx, G1MarkRegionStackSize, 1024 * 1024, \ 88 product(intx, G1MarkRegionStackSize, 1024 * 1024, \
95 "Size of the region stack for concurrent marking.") \ 89 "Size of the region stack for concurrent marking.") \
96 \ 90 \
97 develop(bool, G1ConcZeroFill, true, \ 91 develop(bool, G1ConcZeroFill, true, \
98 "If true, run concurrent zero-filling thread") \ 92 "If true, run concurrent zero-filling thread") \
99 \ 93 \
100 develop(intx, G1ConcZFMaxRegions, 1, \ 94 develop(intx, G1ConcZFMaxRegions, 1, \
101 "Stop zero-filling when # of zf'd regions reaches") \ 95 "Stop zero-filling when # of zf'd regions reaches") \
102 \ 96 \
103 product(intx, G1SteadyStateUsed, 90, \
104 "If non-0, try to maintain 'used' at this pct (of max)") \
105 \
106 product(intx, G1SteadyStateUsedDelta, 30, \
107 "If G1SteadyStateUsed is non-0, then do pause this number of " \
108 "of percentage points earlier if no marking is in progress.") \
109 \
110 develop(bool, G1SATBBarrierPrintNullPreVals, false, \ 97 develop(bool, G1SATBBarrierPrintNullPreVals, false, \
111 "If true, count frac of ptr writes with null pre-vals.") \ 98 "If true, count frac of ptr writes with null pre-vals.") \
112 \ 99 \
113 product(intx, G1SATBLogBufferSize, 1*K, \ 100 product(intx, G1SATBBufferSize, 1*K, \
114 "Number of entries in an SATB log buffer.") \ 101 "Number of entries in an SATB log buffer.") \
115 \ 102 \
116 product(intx, G1SATBProcessCompletedThreshold, 20, \ 103 develop(intx, G1SATBProcessCompletedThreshold, 20, \
117 "Number of completed buffers that triggers log processing.") \ 104 "Number of completed buffers that triggers log processing.") \
118 \ 105 \
119 develop(intx, G1ExtraRegionSurvRate, 33, \ 106 develop(intx, G1ExtraRegionSurvRate, 33, \
120 "If the young survival rate is S, and there's room left in " \ 107 "If the young survival rate is S, and there's room left in " \
121 "to-space, we will allow regions whose survival rate is up to " \ 108 "to-space, we will allow regions whose survival rate is up to " \
125 "Expected Survival Rate for newly allocated bytes") \ 112 "Expected Survival Rate for newly allocated bytes") \
126 \ 113 \
127 develop(bool, G1SATBPrintStubs, false, \ 114 develop(bool, G1SATBPrintStubs, false, \
128 "If true, print generated stubs for the SATB barrier") \ 115 "If true, print generated stubs for the SATB barrier") \
129 \ 116 \
130 product(intx, G1ExpandByPercentOfAvailable, 20, \ 117 experimental(intx, G1ExpandByPercentOfAvailable, 20, \
131 "When expanding, % of uncommitted space to claim.") \ 118 "When expanding, % of uncommitted space to claim.") \
132 \ 119 \
133 develop(bool, G1RSBarrierRegionFilter, true, \ 120 develop(bool, G1RSBarrierRegionFilter, true, \
134 "If true, generate region filtering code in RS barrier") \ 121 "If true, generate region filtering code in RS barrier") \
135 \ 122 \
163 "Disable generation of post-barrier (i.e., RS barrier) ") \ 150 "Disable generation of post-barrier (i.e., RS barrier) ") \
164 \ 151 \
165 product(intx, G1UpdateBufferSize, 256, \ 152 product(intx, G1UpdateBufferSize, 256, \
166 "Size of an update buffer") \ 153 "Size of an update buffer") \
167 \ 154 \
168 product(intx, G1ConcRefineYellowZone, 0, \ 155 product(intx, G1ConcRefinementYellowZone, 0, \
169 "Number of enqueued update buffers that will " \ 156 "Number of enqueued update buffers that will " \
170 "trigger concurrent processing. Will be selected ergonomically " \ 157 "trigger concurrent processing. Will be selected ergonomically " \
171 "by default.") \ 158 "by default.") \
172 \ 159 \
173 product(intx, G1ConcRefineRedZone, 0, \ 160 product(intx, G1ConcRefinementRedZone, 0, \
174 "Maximum number of enqueued update buffers before mutator " \ 161 "Maximum number of enqueued update buffers before mutator " \
175 "threads start processing new ones instead of enqueueing them. " \ 162 "threads start processing new ones instead of enqueueing them. " \
176 "Will be selected ergonomically by default. Zero will disable " \ 163 "Will be selected ergonomically by default. Zero will disable " \
177 "concurrent processing.") \ 164 "concurrent processing.") \
178 \ 165 \
179 product(intx, G1ConcRefineGreenZone, 0, \ 166 product(intx, G1ConcRefinementGreenZone, 0, \
180 "The number of update buffers that are left in the queue by the " \ 167 "The number of update buffers that are left in the queue by the " \
181 "concurrent processing threads. Will be selected ergonomically " \ 168 "concurrent processing threads. Will be selected ergonomically " \
182 "by default.") \ 169 "by default.") \
183 \ 170 \
184 product(intx, G1ConcRefineServiceInterval, 300, \ 171 product(intx, G1ConcRefinementServiceIntervalMillis, 300, \
185 "The last concurrent refinement thread wakes up every " \ 172 "The last concurrent refinement thread wakes up every " \
186 "specified number of milliseconds to do miscellaneous work.") \ 173 "specified number of milliseconds to do miscellaneous work.") \
187 \ 174 \
188 product(intx, G1ConcRefineThresholdStep, 0, \ 175 product(intx, G1ConcRefinementThresholdStep, 0, \
189 "Each time the rset update queue increases by this amount " \ 176 "Each time the rset update queue increases by this amount " \
190 "activate the next refinement thread if available. " \ 177 "activate the next refinement thread if available. " \
191 "Will be selected ergonomically by default.") \ 178 "Will be selected ergonomically by default.") \
192 \ 179 \
193 product(intx, G1RSUpdatePauseFractionPercent, 10, \ 180 product(intx, G1RSetUpdatingPauseTimePercent, 10, \
194 "A target percentage of time that is allowed to be spend on " \ 181 "A target percentage of time that is allowed to be spend on " \
195 "process RS update buffers during the collection pause.") \ 182 "process RS update buffers during the collection pause.") \
196 \ 183 \
197 product(bool, G1AdaptiveConcRefine, true, \ 184 product(bool, G1UseAdaptiveConcRefinement, true, \
198 "Select green, yellow and red zones adaptively to meet the " \ 185 "Select green, yellow and red zones adaptively to meet the " \
199 "the pause requirements.") \ 186 "the pause requirements.") \
200 \ 187 \
201 develop(intx, G1ConcRSLogCacheSize, 10, \ 188 develop(intx, G1ConcRSLogCacheSize, 10, \
202 "Log base 2 of the length of conc RS hot-card cache.") \ 189 "Log base 2 of the length of conc RS hot-card cache.") \
243 \ 230 \
244 develop(intx, G1YoungSurvRateNumRegionsSummary, 0, \ 231 develop(intx, G1YoungSurvRateNumRegionsSummary, 0, \
245 "the number of regions for which we'll print a surv rate " \ 232 "the number of regions for which we'll print a surv rate " \
246 "summary.") \ 233 "summary.") \
247 \ 234 \
248 product(bool, G1UseScanOnlyPrefix, false, \ 235 develop(bool, G1UseScanOnlyPrefix, false, \
249 "It determines whether the system will calculate an optimum " \ 236 "It determines whether the system will calculate an optimum " \
250 "scan-only set.") \ 237 "scan-only set.") \
251 \ 238 \
252 product(intx, G1MinReservePercent, 10, \ 239 product(intx, G1ReservePercent, 10, \
253 "It determines the minimum reserve we should have in the heap " \ 240 "It determines the minimum reserve we should have in the heap " \
254 "to minimize the probability of promotion failure.") \ 241 "to minimize the probability of promotion failure.") \
255 \ 242 \
256 diagnostic(bool, G1PrintRegions, false, \ 243 diagnostic(bool, G1PrintHeapRegions, false, \
257 "If set G1 will print information on which regions are being " \ 244 "If set G1 will print information on which regions are being " \
258 "allocated and which are reclaimed.") \ 245 "allocated and which are reclaimed.") \
259 \ 246 \
260 develop(bool, G1HRRSUseSparseTable, true, \ 247 develop(bool, G1HRRSUseSparseTable, true, \
261 "When true, use sparse table to save space.") \ 248 "When true, use sparse table to save space.") \
262 \ 249 \
263 develop(bool, G1HRRSFlushLogBuffersOnVerify, false, \ 250 develop(bool, G1HRRSFlushLogBuffersOnVerify, false, \
264 "Forces flushing of log buffers before verification.") \ 251 "Forces flushing of log buffers before verification.") \
265 \
266 product(bool, G1UseSurvivorSpaces, true, \
267 "When true, use survivor space.") \
268 \ 252 \
269 develop(bool, G1FailOnFPError, false, \ 253 develop(bool, G1FailOnFPError, false, \
270 "When set, G1 will fail when it encounters an FP 'error', " \ 254 "When set, G1 will fail when it encounters an FP 'error', " \
271 "so as to allow debugging") \ 255 "so as to allow debugging") \
272 \ 256 \
278 \ 262 \
279 develop(uintx, G1FixedSurvivorSpaceSize, 0, \ 263 develop(uintx, G1FixedSurvivorSpaceSize, 0, \
280 "If non-0 is the size of the G1 survivor space, " \ 264 "If non-0 is the size of the G1 survivor space, " \
281 "otherwise SurvivorRatio is used to determine the size") \ 265 "otherwise SurvivorRatio is used to determine the size") \
282 \ 266 \
283 product(bool, G1ForgetfulMMUTracker, false, \ 267 product(bool, G1UseFixedWindowMMUTracker, false, \
284 "If the MMU tracker's memory is full, forget the oldest entry") \ 268 "If the MMU tracker's memory is full, forget the oldest entry") \
285 \ 269 \
286 product(uintx, G1HeapRegionSize, 0, \ 270 product(uintx, G1HeapRegionSize, 0, \
287 "Size of the G1 regions.") \ 271 "Size of the G1 regions.") \
288 \ 272 \
289 experimental(bool, G1ParallelRSetUpdatingEnabled, false, \ 273 experimental(bool, G1UseParallelRSetUpdating, false, \
290 "Enables the parallelization of remembered set updating " \ 274 "Enables the parallelization of remembered set updating " \
291 "during evacuation pauses") \ 275 "during evacuation pauses") \
292 \ 276 \
293 experimental(bool, G1ParallelRSetScanningEnabled, false, \ 277 experimental(bool, G1UseParallelRSetScanning, false, \
294 "Enables the parallelization of remembered set scanning " \ 278 "Enables the parallelization of remembered set scanning " \
295 "during evacuation pauses") \ 279 "during evacuation pauses") \
296 \ 280 \
297 product(uintx, G1ParallelRSetThreads, 0, \ 281 product(uintx, G1ConcRefinementThreads, 0, \
298 "If non-0 is the number of parallel rem set update threads, " \ 282 "If non-0 is the number of parallel rem set update threads, " \
299 "otherwise the value is determined ergonomically.") \ 283 "otherwise the value is determined ergonomically.") \
300 \ 284 \
301 develop(intx, G1CardCountCacheExpandThreshold, 16, \ 285 develop(intx, G1CardCountCacheExpandThreshold, 16, \
302 "Expand the card count cache if the number of collisions for " \ 286 "Expand the card count cache if the number of collisions for " \