Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp @ 794:315a5d70b295
6484957: G1: parallel concurrent refinement
6826318: G1: remove traversal-based refinement code
Summary: Removed traversal-based refinement code as it's no longer used. Made the concurrent refinement (queue-based) parallel.
Reviewed-by: tonyp
author | iveresov |
---|---|
date | Mon, 11 May 2009 16:30:56 -0700 |
parents | 96b229c54d1e |
children | df6caf649ff7 |
comparison
equal
deleted
inserted
replaced
758:9b3a41ccc927 | 794:315a5d70b295 |
---|---|
175 | 175 |
176 private: | 176 private: |
177 G1BlockOffsetSharedArray* _bosa; | 177 G1BlockOffsetSharedArray* _bosa; |
178 G1BlockOffsetSharedArray* bosa() const { return _bosa; } | 178 G1BlockOffsetSharedArray* bosa() const { return _bosa; } |
179 | 179 |
180 static bool _par_traversal; | |
181 | |
182 OtherRegionsTable _other_regions; | 180 OtherRegionsTable _other_regions; |
183 | 181 |
184 // One set bit for every region that has an entry for this one. | 182 // One set bit for every region that has an entry for this one. |
185 BitMap _outgoing_region_map; | 183 BitMap _outgoing_region_map; |
186 | 184 |
209 public: | 207 public: |
210 HeapRegionRemSet(G1BlockOffsetSharedArray* bosa, | 208 HeapRegionRemSet(G1BlockOffsetSharedArray* bosa, |
211 HeapRegion* hr); | 209 HeapRegion* hr); |
212 | 210 |
213 static int num_par_rem_sets(); | 211 static int num_par_rem_sets(); |
214 static bool par_traversal() { return _par_traversal; } | |
215 static void set_par_traversal(bool b); | |
216 | 212 |
217 HeapRegion* hr() const { | 213 HeapRegion* hr() const { |
218 return _other_regions.hr(); | 214 return _other_regions.hr(); |
219 } | 215 } |
220 | 216 |