Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp @ 20337:1f1d373cd044
8038423: G1: Decommit memory within heap
Summary: Allow G1 to decommit memory of arbitrary regions within the heap and their associated auxiliary data structures card table, BOT, hot card cache, and mark bitmaps.
Reviewed-by: mgerdin, brutisso, jwilhelm
author | tschatzl |
---|---|
date | Thu, 21 Aug 2014 11:47:10 +0200 |
parents | 570cb6369f17 |
children | 8ba0078861d4 |
comparison
equal
deleted
inserted
replaced
20336:6701abbc4441 | 20337:1f1d373cd044 |
---|---|
79 } else { | 79 } else { |
80 _thread_threshold_step = G1ConcRefinementThresholdStep; | 80 _thread_threshold_step = G1ConcRefinementThresholdStep; |
81 } | 81 } |
82 } | 82 } |
83 | 83 |
84 void ConcurrentG1Refine::init() { | 84 void ConcurrentG1Refine::init(G1RegionToSpaceMapper* card_counts_storage) { |
85 _hot_card_cache.initialize(); | 85 _hot_card_cache.initialize(card_counts_storage); |
86 } | 86 } |
87 | 87 |
88 void ConcurrentG1Refine::stop() { | 88 void ConcurrentG1Refine::stop() { |
89 if (_threads != NULL) { | 89 if (_threads != NULL) { |
90 for (uint i = 0; i < _n_threads; i++) { | 90 for (uint i = 0; i < _n_threads; i++) { |