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 } |