hotspot/src/share/vm/memory/space.cpp
void CompactibleSpace::adjust_pointers() {
{- -------------------------------------------
(1) もしこの領域内にオブジェクトがなければ, 何もする必要は無いので, ここでリターン.
---------------------------------------- -}
// Check first is there is any work to do.
if (used() == 0) {
return; // Nothing to do.
}
{- -------------------------------------------
(1) SCAN_AND_ADJUST_POINTERS マクロの中身を実行するだけ.
---------------------------------------- -}
SCAN_AND_ADJUST_POINTERS(adjust_obj_size);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.