hotspot/src/share/vm/memory/space.cpp
// Faster object search.
void ContiguousSpace::prepare_for_compaction(CompactPoint* cp) {
{- -------------------------------------------
(1) SCAN_AND_FORWARD マクロの中身を実行するだけ.
(CompactibleSpace::prepare_for_compaction() とほとんど一緒だが,
top までしか辿らないなど多少高速化されている模様)
---------------------------------------- -}
SCAN_AND_FORWARD(cp, top, block_is_always_obj, obj_size);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.