Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/concurrentMark.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 | 9def4075da6d |
children | 63a4eb8bcd23 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
12342:ccef6e165e8b | 12343:d55c004e1d4d |
---|---|
79 // counting data structures. | 79 // counting data structures. |
80 inline void ConcurrentMark::count_region(MemRegion mr, HeapRegion* hr, | 80 inline void ConcurrentMark::count_region(MemRegion mr, HeapRegion* hr, |
81 size_t* marked_bytes_array, | 81 size_t* marked_bytes_array, |
82 BitMap* task_card_bm) { | 82 BitMap* task_card_bm) { |
83 G1CollectedHeap* g1h = _g1h; | 83 G1CollectedHeap* g1h = _g1h; |
84 CardTableModRefBS* ct_bs = (CardTableModRefBS*) (g1h->barrier_set()); | 84 CardTableModRefBS* ct_bs = g1h->g1_barrier_set(); |
85 | 85 |
86 HeapWord* start = mr.start(); | 86 HeapWord* start = mr.start(); |
87 HeapWord* end = mr.end(); | 87 HeapWord* end = mr.end(); |
88 size_t region_size_bytes = mr.byte_size(); | 88 size_t region_size_bytes = mr.byte_size(); |
89 uint index = hr->hrs_index(); | 89 uint index = hr->hrs_index(); |