hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp
virtual IterationStatus do_addr(HeapWord* addr, size_t size) {
{- -------------------------------------------
(1) 引数で指定された範囲に CollectedHeap::fill_with_objects() でダミーのオブジェクトを詰める.
(ついでに, 対応する範囲の offset array (object start array) の情報も更新する)
---------------------------------------- -}
CollectedHeap::fill_with_objects(addr, size);
HeapWord* const end = addr + size;
do {
_start_array->allocate_block(addr);
addr += oop(addr)->size();
} while (addr < end);
{- -------------------------------------------
(1) リターン
---------------------------------------- -}
return ParMarkBitMap::incomplete;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.