RFR: 8261447: MethodInvocationCounters frequently run into overflow [v8]

Lutz Schmidt lucy at openjdk.java.net
Tue Mar 2 20:50:45 UTC 2021


On Tue, 2 Mar 2021 18:50:24 GMT, Igor Veresov <iveresov at openjdk.org> wrote:

>> Will change.
>
> I'd be better to change the logic to check if the counter is ```>= InvocationCounter::count_limit``` then it's in overflow.

With overflow I do not mean "counter overflow" as it is used to trigger compiler activities but plain simple "range of singed int exceeded". Should I use different wording? E.g. "counter in signed int overflow"?

-------------

PR: https://git.openjdk.java.net/jdk/pull/2511


More information about the serviceability-dev mailing list