< prev index next >
src/share/vm/gc/g1/g1RemSet.cpp
Print this page
@@ -107,11 +107,11 @@
HeapRegionDCTOC cl(_g1h, r, _oc,
CardTableModRefBS::Precise);
// Set the "from" region in the closure.
_oc->set_region(r);
- MemRegion card_region(_bot->address_for_index(index), G1BlockOffsetTable::N_words);
+ MemRegion card_region(_bot->address_for_index(index), BOTConstants::N_words);
MemRegion pre_gc_allocated(r->bottom(), r->scan_top());
MemRegion mr = pre_gc_allocated.intersection(card_region);
if (!mr.is_empty() && !_ct_bs->is_card_claimed(index)) {
// We make the card as "claimed" lazily (so races are possible
// but they're benign), which reduces the number of duplicate
< prev index next >