8233590: Compiler thread creation fails with assert(_c2_count > 0 || _c1_count > 0) failed: No compilers?
Handle the case with -XX:-TieredCompilation properly Reviewed-by: shade, thartmann
This commit is contained in:
parent
ddaa12237e
commit
1c40d6fdfb
@ -81,11 +81,11 @@ JVMFlag::Error CICompilerCountConstraintFunc(intx value, bool verbose) {
|
||||
} else {
|
||||
min_number_of_compiler_threads = 2; // case 4 (tiered)
|
||||
}
|
||||
} else
|
||||
#else
|
||||
{
|
||||
} else {
|
||||
min_number_of_compiler_threads = 1; // case 2
|
||||
}
|
||||
#else
|
||||
min_number_of_compiler_threads = 1; // case 2
|
||||
#endif
|
||||
|
||||
// The default CICompilerCount's value is CI_COMPILER_COUNT.
|
||||
|
Loading…
Reference in New Issue
Block a user