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

Print this page
rev 7084 : [mq]: demacro

*** 981,990 **** --- 981,994 ---- void HeapRegion::verify() const { bool dummy = false; verify(VerifyOption_G1UsePrevMarking, /* failures */ &dummy); } + void HeapRegion::prepare_for_compaction(CompactPoint* cp) { + scan_and_forward(this, cp); + } + // G1OffsetTableContigSpace code; copied from space.cpp. Hope this can go // away eventually. void G1OffsetTableContigSpace::clear(bool mangle_space) { set_top(bottom());
*** 1064,1079 **** } p += block_size(p); } } - #define block_is_always_obj(q) true - void G1OffsetTableContigSpace::prepare_for_compaction(CompactPoint* cp) { - SCAN_AND_FORWARD(cp, top, block_is_always_obj, block_size); - } - #undef block_is_always_obj - G1OffsetTableContigSpace:: G1OffsetTableContigSpace(G1BlockOffsetSharedArray* sharedOffsetArray, MemRegion mr) : _offsets(sharedOffsetArray, mr), _par_alloc_lock(Mutex::leaf, "OffsetTableContigSpace par alloc lock", true), --- 1068,1077 ----