CompileThreshold & BackEdgeThreshold question(s)
Vitaly Davidovich
vitalyd at gmail.com
Fri Aug 3 11:07:44 PDT 2012
Hi Charlie,
CompileThreshold (10k by default for server) is the number of times a
method must be hit before it's considered "hot" and thus eligible for
compilation.
BackedgeThreshold is similar, but counts loop counters. In other words, a
method may only get hit a few times but if it runs a long loop (many
iterations), the loop becomes eligible for on-stack replacement compilation
(OSR).
That's how I understand it, but I'm sure someone can correct me or provide
more details.
Vitaly
Sent from my phone
On Aug 3, 2012 1:29 PM, "Charlie Hunt" <chunt at salesforce.com> wrote:
> Could someone offer a "10,000 ft" explanation of CompileThreshold and
> BackEdgeThreshold, how they relate to each other, (if at all), and how they
> differ?
>
> For the Server compiler, of course. ;-)
>
> thanks,
>
> charlie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20120803/20deaef9/attachment.html
More information about the hotspot-compiler-dev
mailing list