mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8036091: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
Start test with -XX:-TieredCompilation so that one compiler thread works Reviewed-by: kvn, twisti
This commit is contained in:
parent
0b6a5f744a
commit
9e39a2797d
2 changed files with 4 additions and 4 deletions
|
@ -2409,7 +2409,7 @@ bool Arguments::check_vm_args_consistency() {
|
|||
status &= verify_interval(NmethodSweepActivity, 0, 2000, "NmethodSweepActivity");
|
||||
|
||||
// TieredCompilation needs at least 2 compiler threads.
|
||||
const int num_min_compiler_threads = (TieredCompilation) ? 2 : 1;
|
||||
const int num_min_compiler_threads = (TieredCompilation && (TieredStopAtLevel >= CompLevel_full_optimization)) ? 2 : 1;
|
||||
status &=verify_min_value(CICompilerCount, num_min_compiler_threads, "CICompilerCount");
|
||||
|
||||
return status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue