hotspot/src/share/vm/runtime/arguments.cpp
changeset 24338 bff6fc677861
parent 24322 c2978d1578e3
child 24424 2658d7834c6e
child 24437 4770f8076932
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Tue Apr 29 12:20:53 2014 -0700
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Fri May 02 06:24:39 2014 +0200
@@ -2399,7 +2399,7 @@
   status &= verify_interval(CodeCacheSegmentSize, 1, 1024, "CodeCacheSegmentSize");
 
   // TieredCompilation needs at least 2 compiler threads.
-  const int num_min_compiler_threads = (TieredCompilation && (TieredStopAtLevel >= CompLevel_full_optimization)) ? 2 : 1;
+  const int num_min_compiler_threads = (TieredCompilation && (TieredStopAtLevel >= CompLevel_full_optimization)) ? 2 : CI_COMPILER_COUNT;
   status &=verify_min_value(CICompilerCount, num_min_compiler_threads, "CICompilerCount");
 
   if (!FLAG_IS_DEFAULT(CICompilerCount) && !FLAG_IS_DEFAULT(CICompilerCountPerCPU) && CICompilerCountPerCPU) {