Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/arguments.cpp @ 17906:7150b16fda52
8029436: CICompilerCount is not updated when the number of compiler threads is adjusted to the number of CPUs
Summary: 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
Contributed-by: Tobias Hartmann <tobias.hartmann@oracle.com>
author | anoll |
---|---|
date | Mon, 14 Apr 2014 08:24:28 +0200 |
parents | f42c10a3d4b1 |
children | 78bbf4d43a14 |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Fri Apr 25 09:22:42 2014 -0700 +++ b/src/share/vm/runtime/arguments.cpp Mon Apr 14 08:24:28 2014 +0200 @@ -2383,6 +2383,10 @@ status &= verify_interval(NmethodSweepFraction, 1, ReservedCodeCacheSize/K, "NmethodSweepFraction"); status &= verify_interval(NmethodSweepActivity, 0, 2000, "NmethodSweepActivity"); + if (!FLAG_IS_DEFAULT(CICompilerCount) && !FLAG_IS_DEFAULT(CICompilerCountPerCPU) && CICompilerCountPerCPU) { + warning("The VM option CICompilerCountPerCPU overrides CICompilerCount."); + } + return status; }