[9] RFR(XXS): 8036091: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
Aleksey Shipilev
aleksey.shipilev at oracle.com
Mon Mar 3 02:36:24 PST 2014
On 03/03/2014 02:28 PM, Albert wrote:
> Silently using 2 instead of 1 compiler thread when tiered is enabled
> and -XX:CICompilerCount=1 was the default behavior before
> JDK-8034775. I worked on JDK-8034775 and back than it occurred to me
> that it is strange that the JVM silently 'overrules' an explicit
> command given by the user (namely that he/she wants to use only 1
> compiler thread).
I don't find it strange if you follow the notion of two compilers in
TieredCompilation. CICompilerCount=1 means "one thread per compiler",
which given two compilers means two threads. If you really want a single
thread in the compiler thread pool, then you should disable one of the
compilers.
-Aleksey.
More information about the hotspot-compiler-dev
mailing list