src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp

changeset 924
2494ab195856
parent 777
37f87013dfd8
child 980
58054a18d735
equal deleted inserted replaced
922:80206b8a9128 924:2494ab195856
179 add_reference_work(from, /*parallel*/ false); 179 add_reference_work(from, /*parallel*/ false);
180 } 180 }
181 181
182 void scrub(CardTableModRefBS* ctbs, BitMap* card_bm) { 182 void scrub(CardTableModRefBS* ctbs, BitMap* card_bm) {
183 HeapWord* hr_bot = hr()->bottom(); 183 HeapWord* hr_bot = hr()->bottom();
184 int hr_first_card_index = ctbs->index_for(hr_bot); 184 size_t hr_first_card_index = ctbs->index_for(hr_bot);
185 bm()->set_intersection_at_offset(*card_bm, hr_first_card_index); 185 bm()->set_intersection_at_offset(*card_bm, hr_first_card_index);
186 #if PRT_COUNT_OCCUPIED 186 #if PRT_COUNT_OCCUPIED
187 recount_occupied(); 187 recount_occupied();
188 #endif 188 #endif
189 } 189 }

mercurial