hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp
// MT-unsafe claiming of a region. Should only be used during single threaded
// execution.
inline bool ParallelCompactData::RegionData::claim_unsafe()
{
{- -------------------------------------------
(1) ParallelCompactData::RegionData::available() を呼んで, その結果をリターンする.
(なお, ParallelCompactData::RegionData::available() が true を返した場合には,
_dc_and_los フィールドの dc 部分(destination count部分)の値を dc_claimed に変えておく)
---------------------------------------- -}
if (available()) {
_dc_and_los |= dc_claimed;
return true;
}
return false;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.