[9] RFR(XXS): 8036091: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1

Albert albert.noll at oracle.com
Mon Mar 3 02:38:03 PST 2014

Hi Aleksey,

that is not what the description of the flag says:

   product(intx, CICompilerCount, CI_COMPILER_COUNT,
           "Number of compiler threads to run")


On 03/03/2014 11:36 AM, Aleksey Shipilev wrote:
> 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