hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp
inline void ParallelCompactData::RegionData::add_live_obj(size_t words)
{
{- -------------------------------------------
(1) Atomic::add() で, _dc_and_los フィールドの値をアトミックに引数(以下の words)分だけ増加させる.
---------------------------------------- -}
assert(words <= (size_t)los_mask - live_obj_size(), "overflow");
Atomic::add((int) words, (volatile int*) &_dc_and_los);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.