equal
deleted
inserted
replaced
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(); |