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

Lutz Schmidt lucy at openjdk.java.net
Fri Feb 12 08:32:41 UTC 2021


On Thu, 11 Feb 2021 20:45:30 GMT, Igor Veresov <iveresov at openjdk.org> wrote:

>> @veresov please review these changes
>
> I don't really like these .*64 suffixes. Can we just make the counter 64 bit, update the SA as Tobias suggested and keep the existing method names? Or is there a reason for doing this that eludes me?

I introduced the *64 suffixes to not break anything that still uses the old calls. As old uses disappear step by step, I'm more than happy to remove the suffixes. I will have a look into SA and try to make it 64bit counter ready. There may be no new version before the weekend is over.

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

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


More information about the hotspot-dev mailing list