src/share/vm/runtime/simpleThresholdPolicy.cpp

changeset 9614
bb44c0e88235
parent 7323
468850e35e48
child 9637
eef07cd490d4
     1.1 --- a/src/share/vm/runtime/simpleThresholdPolicy.cpp	Wed Feb 06 17:32:25 2019 +0100
     1.2 +++ b/src/share/vm/runtime/simpleThresholdPolicy.cpp	Wed Feb 06 11:41:51 2019 +0100
     1.3 @@ -139,7 +139,7 @@
     1.4    }
     1.5    int count = CICompilerCount;
     1.6    if (CICompilerCountPerCPU) {
     1.7 -    count = MAX2(log2_intptr(os::active_processor_count()), 1) * 3 / 2;
     1.8 +    count = MAX2(log2_int(os::active_processor_count()), 1) * 3 / 2;
     1.9    }
    1.10    set_c1_count(MAX2(count / 3, 1));
    1.11    set_c2_count(MAX2(count - c1_count(), 1));

mercurial