Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
17905:4e03f6196358 | 17906:7150b16fda52 |
---|---|
2381 } | 2381 } |
2382 | 2382 |
2383 status &= verify_interval(NmethodSweepFraction, 1, ReservedCodeCacheSize/K, "NmethodSweepFraction"); | 2383 status &= verify_interval(NmethodSweepFraction, 1, ReservedCodeCacheSize/K, "NmethodSweepFraction"); |
2384 status &= verify_interval(NmethodSweepActivity, 0, 2000, "NmethodSweepActivity"); | 2384 status &= verify_interval(NmethodSweepActivity, 0, 2000, "NmethodSweepActivity"); |
2385 | 2385 |
2386 if (!FLAG_IS_DEFAULT(CICompilerCount) && !FLAG_IS_DEFAULT(CICompilerCountPerCPU) && CICompilerCountPerCPU) { | |
2387 warning("The VM option CICompilerCountPerCPU overrides CICompilerCount."); | |
2388 } | |
2389 | |
2386 return status; | 2390 return status; |
2387 } | 2391 } |
2388 | 2392 |
2389 bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore, | 2393 bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore, |
2390 const char* option_type) { | 2394 const char* option_type) { |