hotspot/src/share/vm/runtime/compilationPolicy.cpp
void NonTieredCompPolicy::initialize() {
{- -------------------------------------------
(1) (フィールドの初期化)
---------------------------------------- -}
// Setup the compiler thread numbers
if (CICompilerCountPerCPU) {
// Example: if CICompilerCountPerCPU is true, then we get
// max(log2(8)-1,1) = 2 compiler threads on an 8-way machine.
// May help big-app startup time.
_compiler_count = MAX2(log2_intptr(os::active_processor_count())-1,1);
} else {
_compiler_count = CICompilerCount;
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.