comparison src/share/vm/gc_implementation/g1/g1MarkSweep.cpp @ 12343:d55c004e1d4d

8025305: Cleanup CardTableModRefBS usage in G1 Summary: Move some G1 specific code from CardTableModRefBS to G1SATBCardTableModRefBS. Reviewed-by: brutisso, tschatzl, ehelin
author mgerdin
date Tue, 24 Sep 2013 14:46:29 +0200
parents 71180a6e5080
children 893ce66f7473
comparison
equal deleted inserted replaced
12342:ccef6e165e8b 12343:d55c004e1d4d
218 } 218 }
219 219
220 public: 220 public:
221 G1PrepareCompactClosure(CompactibleSpace* cs) 221 G1PrepareCompactClosure(CompactibleSpace* cs)
222 : _g1h(G1CollectedHeap::heap()), 222 : _g1h(G1CollectedHeap::heap()),
223 _mrbs(G1CollectedHeap::heap()->mr_bs()), 223 _mrbs(_g1h->g1_barrier_set()),
224 _cp(NULL, cs, cs->initialize_threshold()), 224 _cp(NULL, cs, cs->initialize_threshold()),
225 _humongous_proxy_set("G1MarkSweep Humongous Proxy Set") { } 225 _humongous_proxy_set("G1MarkSweep Humongous Proxy Set") { }
226 226
227 void update_sets() { 227 void update_sets() {
228 // We'll recalculate total used bytes and recreate the free list 228 // We'll recalculate total used bytes and recreate the free list