< prev index next >

src/hotspot/share/runtime/compilationPolicy.cpp

Print this page

        

*** 226,236 **** // 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); // Make sure there is enough space in the code cache to hold all the compiler buffers size_t buffer_size = 1; #ifdef COMPILER1 buffer_size = is_client_compilation_mode_vm() ? Compiler::code_buffer_size() : buffer_size; #endif --- 226,236 ---- // 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_int(os::active_processor_count())-1,1); // Make sure there is enough space in the code cache to hold all the compiler buffers size_t buffer_size = 1; #ifdef COMPILER1 buffer_size = is_client_compilation_mode_vm() ? Compiler::code_buffer_size() : buffer_size; #endif
< prev index next >