< prev index next >
src/share/vm/gc/g1/g1MarkSweep.cpp
Print this page
rev 12906 : [mq]: gc_interface
@@ -331,11 +331,11 @@
HeapRegion* hr,
HeapWord* end) {
hr->prepare_for_compaction(cp);
// Also clear the part of the card table that will be unused after
// compaction.
- _mrbs->clear(MemRegion(hr->compaction_top(), end));
+ _ct->clear(MemRegion(hr->compaction_top(), end));
}
void G1PrepareCompactClosure::update_sets() {
// We'll recalculate total used bytes and recreate the free list
// at the end of the GC, so no point in updating those values here.
< prev index next >