hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
void PSParallelCompact::initialize_dead_wood_limiter()
{
{- -------------------------------------------
(1) (変数宣言など)
---------------------------------------- -}
const size_t max = 100;
{- -------------------------------------------
(1) (フィールドの初期化)
---------------------------------------- -}
_dwl_mean = double(MIN2(ParallelOldDeadWoodLimiterMean, max)) / 100.0;
_dwl_std_dev = double(MIN2(ParallelOldDeadWoodLimiterStdDev, max)) / 100.0;
_dwl_first_term = 1.0 / (sqrt(2.0 * M_PI) * _dwl_std_dev);
DEBUG_ONLY(_dwl_initialized = true;)
_dwl_adjustment = normal_distribution(1.0);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.