[9] RFR(S): JDK-8029436: CICompilerCount is not updated when the number of compiler threads is adjusted to the number of CPUs

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Apr 10 17:31:51 UTC 2014


So you decided to override CICompilerCount always (not when it is default only). In such case you have to use 
FLAG_SET_ERGO() macro.

Thanks,
Vladimir

On 4/10/14 4:37 AM, Tobias Hartmann wrote:
> Hi,
>
> please review the following patch for bug 8029436.
>
> *Problem:*
> The JVM option CICompilerCount holds the number of compiler threads. If CICompilerCountPerCPU is enabled, the number of
> compiler threads is adjusted at runtime by the policies. The value CICompilerCount is not updated.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8029436
>
> *Solution:*
> CICompilerCount is updated in AdvancedThresholdPolicy::initialize, SimpleThresholdPolicy::initialize and
> NonTieredCompPolicy::initialize. A warning is printed if the user both sets CICompilerCount and CICompilerCountPerCPU.
> Webrev: http://cr.openjdk.java.net/~anoll/8029436/webrev.01/ <http://cr.openjdk.java.net/%7Eanoll/8029436/webrev.01/>
>
> *Tests:*
> JPRT
>
> Thanks,
>
> Tobias
>


More information about the hotspot-compiler-dev mailing list