hotspot/src/share/vm/runtime/compilationPolicy.cpp
changeset 24013 1d16b0f1060d
parent 22551 9bf46d16dcc6
child 24424 2658d7834c6e
equal deleted inserted replaced
24009:ec494183af7e 24013:1d16b0f1060d
   180   if (CICompilerCountPerCPU) {
   180   if (CICompilerCountPerCPU) {
   181     // Example: if CICompilerCountPerCPU is true, then we get
   181     // Example: if CICompilerCountPerCPU is true, then we get
   182     // max(log2(8)-1,1) = 2 compiler threads on an 8-way machine.
   182     // max(log2(8)-1,1) = 2 compiler threads on an 8-way machine.
   183     // May help big-app startup time.
   183     // May help big-app startup time.
   184     _compiler_count = MAX2(log2_intptr(os::active_processor_count())-1,1);
   184     _compiler_count = MAX2(log2_intptr(os::active_processor_count())-1,1);
       
   185     FLAG_SET_ERGO(intx, CICompilerCount, _compiler_count);
   185   } else {
   186   } else {
   186     _compiler_count = CICompilerCount;
   187     _compiler_count = CICompilerCount;
   187   }
   188   }
   188 }
   189 }
   189 
   190