--- a/src/hotspot/share/runtime/compilationPolicy.cpp Fri Nov 23 10:57:07 2018 +0100
+++ b/src/hotspot/share/runtime/compilationPolicy.cpp Thu Nov 22 17:25:47 2018 +0100
@@ -228,7 +228,7 @@
// 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);
+ _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