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

Lutz Schmidt lucy at openjdk.java.net
Mon Feb 15 18:24:40 UTC 2021


On Fri, 12 Feb 2021 11:58:47 GMT, Lutz Schmidt <lucy at openjdk.org> wrote:

>> 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.
>
> This is a request for help. Could someone with SA knowledge please check if my assumption is correct?
> 
> In hotspot code, the field Method::_compiled_invocation_count is annotated with a comment that it is used by SA. The field is also exposed via vmStructs.cpp to enable such use. I have scanned SA code in OpenJDK11 and OpenJDK head but found no evidence that this particular field is accessed. Is this finding/assumption correct? 
> 
> If so, I could just stop exposing the field, making my life easier. Thanks!

Looks like I have completely messed up my pull request. Please disregard for now. I'm trying to find a way how to clean up. Maybe I'll just start over.

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

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


More information about the hotspot-dev mailing list