src/share/vm/runtime/advancedThresholdPolicy.cpp

changeset 9614
bb44c0e88235
parent 9610
f43f77de876a
child 9637
eef07cd490d4
child 9690
61d955db2a5b
     1.1 --- a/src/share/vm/runtime/advancedThresholdPolicy.cpp	Wed Feb 06 17:32:25 2019 +0100
     1.2 +++ b/src/share/vm/runtime/advancedThresholdPolicy.cpp	Wed Feb 06 11:41:51 2019 +0100
     1.3 @@ -47,8 +47,8 @@
     1.4    int count = CICompilerCount;
     1.5    if (CICompilerCountPerCPU) {
     1.6      // Simple log n seems to grow too slowly for tiered, try something faster: log n * log log n
     1.7 -    int log_cpu = log2_intptr(os::active_processor_count());
     1.8 -    int loglog_cpu = log2_intptr(MAX2(log_cpu, 1));
     1.9 +    int log_cpu = log2_int(os::active_processor_count());
    1.10 +    int loglog_cpu = log2_int(MAX2(log_cpu, 1));
    1.11      count = MAX2(log_cpu * loglog_cpu, 1) * 3 / 2;
    1.12    }
    1.13  

mercurial