equal
deleted
inserted
replaced
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 |