hotspot/src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp
void PSYoungGen::compact() {
{- -------------------------------------------
(1) PSMarkSweepDecorator::compact() を3回呼び出し,
それぞれ Eden 領域, From 領域, To 領域内のオブジェクトに対して
コンパクション処理を行う.
---------------------------------------- -}
eden_mark_sweep()->compact(ZapUnusedHeapArea);
from_mark_sweep()->compact(ZapUnusedHeapArea);
// Mark sweep stores preserved markOops in to space, don't disturb!
to_mark_sweep()->compact(false);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.