comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp @ 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 2e093b564241
children cefad50507d8 69944b868a32
comparison
equal deleted inserted replaced
12342:ccef6e165e8b 12343:d55c004e1d4d
132 132
133 HeapWord* end = start + word_size; 133 HeapWord* end = start + word_size;
134 assert(containing_hr->is_in(end - 1), "it should also contain end - 1"); 134 assert(containing_hr->is_in(end - 1), "it should also contain end - 1");
135 135
136 MemRegion mr(start, end); 136 MemRegion mr(start, end);
137 ((CardTableModRefBS*)_g1h->barrier_set())->dirty(mr); 137 g1_barrier_set()->dirty(mr);
138 } 138 }
139 139
140 inline RefToScanQueue* G1CollectedHeap::task_queue(int i) const { 140 inline RefToScanQueue* G1CollectedHeap::task_queue(int i) const {
141 return _task_queues->queue(i); 141 return _task_queues->queue(i);
142 } 142 }