Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1_globals.hpp @ 2152:0fa27f37d4d4
6977804: G1: remove the zero-filling thread
Summary: This changeset removes the zero-filling thread from G1 and collapses the two free region lists we had before (the "free" and "unclean" lists) into one. The new free list uses the new heap region sets / lists abstractions that we'll ultimately use it to keep track of all regions in the heap. A heap region set was also introduced for the humongous regions. Finally, this change increases the concurrency between the thread that completes freeing regions (after a cleanup pause) and the rest of the system (before we'd have to wait for said thread to complete before allocating a new region). The changest also includes a lot of refactoring and code simplification.
Reviewed-by: jcoomes, johnc
author | tonyp |
---|---|
date | Wed, 19 Jan 2011 19:30:42 -0500 |
parents | 7e37af9d69ef |
children | 234761c55641 |
comparison
equal
deleted
inserted
replaced
2151:cb913d743d09 | 2152:0fa27f37d4d4 |
---|---|
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 \ | |
87 develop(bool, G1ConcZeroFill, true, \ | |
88 "If true, run concurrent zero-filling thread") \ | |
89 \ | |
90 develop(intx, G1ConcZFMaxRegions, 1, \ | |
91 "Stop zero-filling when # of zf'd regions reaches") \ | |
92 \ | 83 \ |
93 develop(bool, G1SATBBarrierPrintNullPreVals, false, \ | 84 develop(bool, G1SATBBarrierPrintNullPreVals, false, \ |
94 "If true, count frac of ptr writes with null pre-vals.") \ | 85 "If true, count frac of ptr writes with null pre-vals.") \ |
95 \ | 86 \ |
96 product(intx, G1SATBBufferSize, 1*K, \ | 87 product(intx, G1SATBBufferSize, 1*K, \ |
287 \ | 278 \ |
288 product(uintx, G1RSetScanBlockSize, 64, \ | 279 product(uintx, G1RSetScanBlockSize, 64, \ |
289 "Size of a work unit of cards claimed by a worker thread" \ | 280 "Size of a work unit of cards claimed by a worker thread" \ |
290 "during RSet scanning.") \ | 281 "during RSet scanning.") \ |
291 \ | 282 \ |
292 develop(bool, ReduceInitialCardMarksForG1, false, \ | 283 develop(uintx, G1SecondaryFreeListAppendLength, 5, \ |
284 "The number of regions we will add to the secondary free list " \ | |
285 "at every append operation") \ | |
286 \ | |
287 develop(bool, G1ConcRegionFreeingVerbose, false, \ | |
288 "Enables verboseness during concurrent region freeing") \ | |
289 \ | |
290 develop(bool, G1StressConcRegionFreeing, false, \ | |
291 "It stresses the concurrent region freeing operation") \ | |
292 \ | |
293 develop(uintx, G1StressConcRegionFreeingDelayMillis, 0, \ | |
294 "Artificial delay during concurrent region freeing") \ | |
295 \ | |
296 develop(bool, ReduceInitialCardMarksForG1, false, \ | |
293 "When ReduceInitialCardMarks is true, this flag setting " \ | 297 "When ReduceInitialCardMarks is true, this flag setting " \ |
294 " controls whether G1 allows the RICM optimization") | 298 " controls whether G1 allows the RICM optimization") |
295 | 299 |
296 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) | 300 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) |
297 | 301 |