< prev index next >

src/share/vm/gc/g1/g1MarkSweep.cpp

Print this page
rev 12906 : [mq]: gc_interface

*** 331,341 **** 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)); } 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. --- 331,341 ---- HeapRegion* hr, HeapWord* end) { hr->prepare_for_compaction(cp); // Also clear the part of the card table that will be unused after // compaction. ! _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 >