mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8029436: CICompilerCount is not updated when the number of compiler threads is adjusted to the number of CPUs
CICompilerCount is updated in AdvancedThresholdPolicy::initialize, SimpleThresholdPolicy::initialize and NonTieredCompPolicy::initialize. A warning is printed if the usersets both, CICompilerCount and CICompilerCountPerCPU. Reviewed-by: kvn, twisti
This commit is contained in:
parent
7e1059b62d
commit
e4fc75979e
4 changed files with 9 additions and 2 deletions
|
@ -53,7 +53,8 @@ void AdvancedThresholdPolicy::initialize() {
|
|||
}
|
||||
|
||||
set_c1_count(MAX2(count / 3, 1));
|
||||
set_c2_count(MAX2(count - count / 3, 1));
|
||||
set_c2_count(MAX2(count - c1_count(), 1));
|
||||
FLAG_SET_ERGO(intx, CICompilerCount, c1_count() + c2_count());
|
||||
|
||||
// Some inlining tuning
|
||||
#ifdef X86
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue