comparison src/share/vm/runtime/arguments.cpp @ 20594:e8225dc7c94b

8036091: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1 Summary: Start test with -XX:-TieredCompilation so that one compiler thread works Reviewed-by: kvn, twisti
author anoll
date Wed, 05 Mar 2014 10:20:30 +0100
parents 2eda90444a0d
children 4356234e712a
comparison
equal deleted inserted replaced
20593:2eda90444a0d 20594:e8225dc7c94b
2461 #ifdef COMPILER1 2461 #ifdef COMPILER1
2462 status &= verify_interval(SafepointPollOffset, 0, os::vm_page_size() - BytesPerWord, "SafepointPollOffset"); 2462 status &= verify_interval(SafepointPollOffset, 0, os::vm_page_size() - BytesPerWord, "SafepointPollOffset");
2463 #endif 2463 #endif
2464 2464
2465 // TieredCompilation needs at least 2 compiler threads. 2465 // TieredCompilation needs at least 2 compiler threads.
2466 const int num_min_compiler_threads = (TieredCompilation) ? 2 : 1; 2466 const int num_min_compiler_threads = (TieredCompilation && (TieredStopAtLevel >= CompLevel_full_optimization)) ? 2 : 1;
2467 status &=verify_min_value(CICompilerCount, num_min_compiler_threads, "CICompilerCount"); 2467 status &=verify_min_value(CICompilerCount, num_min_compiler_threads, "CICompilerCount");
2468 2468
2469 return status; 2469 return status;
2470 } 2470 }
2471 2471