tiered compilation and CompileThreshold

Igor Veresov igor.veresov at oracle.com
Thu Nov 4 16:35:10 PDT 2010

On 11/4/10 1:38 PM, Paul Thio wrote:
> When using tiered compilation, is it possible to set the compile threshold of the c1 compiler ? When -XX:+TieredCompilation is specified, it seems to ignore -XX:CompileThreshold.

Yeah, it uses the following flags:

Tier3InvocationThreshold = 200,
Tier3MinInvocationThreshold = 100,
Tier3CompileThreshold = 2000

The predicate that determines when to compile looks like that:
p(i,b) = (i > Tier3InvocationThreshold) ||
(i > Tier3MinInvocationThreshold && i + b > Tier3CompileThreshold),
where i - is the number of invocations of the method, b - number of 
backedges taken.


More information about the hotspot-compiler-dev mailing list