src/share/vm/runtime/compilationPolicy.cpp

changeset 9614
bb44c0e88235
parent 6680
78bbf4d43a14
child 9637
eef07cd490d4
     1.1 --- a/src/share/vm/runtime/compilationPolicy.cpp	Wed Feb 06 17:32:25 2019 +0100
     1.2 +++ b/src/share/vm/runtime/compilationPolicy.cpp	Wed Feb 06 11:41:51 2019 +0100
     1.3 @@ -181,7 +181,7 @@
     1.4      // Example: if CICompilerCountPerCPU is true, then we get
     1.5      // max(log2(8)-1,1) = 2 compiler threads on an 8-way machine.
     1.6      // May help big-app startup time.
     1.7 -    _compiler_count = MAX2(log2_intptr(os::active_processor_count())-1,1);
     1.8 +    _compiler_count = MAX2(log2_int(os::active_processor_count())-1,1);
     1.9      FLAG_SET_ERGO(intx, CICompilerCount, _compiler_count);
    1.10    } else {
    1.11      _compiler_count = CICompilerCount;

mercurial