On Tue, 2 Mar 2021 20:47:25 GMT, Lutz Schmidt <[email protected]> wrote:
>> 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"? Then it will never happen. These values come from ```InvocationCounter::count()```. And it will never return a value > 2^31 - 1. ------------- PR: https://git.openjdk.java.net/jdk/pull/2511
