src/hotspot/share/runtime/tieredThresholdPolicy.cpp
changeset 52675 7d3cde494494
parent 52325 0451e0a2f1f5
child 52934 8deeb7bba516
--- a/src/hotspot/share/runtime/tieredThresholdPolicy.cpp	Fri Nov 23 10:57:07 2018 +0100
+++ b/src/hotspot/share/runtime/tieredThresholdPolicy.cpp	Thu Nov 22 17:25:47 2018 +0100
@@ -226,8 +226,8 @@
   }
   if (CICompilerCountPerCPU) {
     // Simple log n seems to grow too slowly for tiered, try something faster: log n * log log n
-    int log_cpu = log2_intptr(os::active_processor_count());
-    int loglog_cpu = log2_intptr(MAX2(log_cpu, 1));
+    int log_cpu = log2_int(os::active_processor_count());
+    int loglog_cpu = log2_int(MAX2(log_cpu, 1));
     count = MAX2(log_cpu * loglog_cpu * 3 / 2, 2);
     // Make sure there is enough space in the code cache to hold all the compiler buffers
     size_t c1_size = Compiler::code_buffer_size();