On Wed, 5 May 2021 21:02:44 GMT, Leonid Mesnik <[email protected]> wrote:

> Also, generic comment. There are other counters which might require 
> synchronization, like CompiledMethodLoadEventsCount. Doesn't it makes sense 
> to fix them also or file a new bug?

The problem with classCount is it's used as an index in the arrays.
CompiledMethodLoadEventsCount is only incremented (for formally it should be 
synchronized too).
And looks like CompiledMethodLoadEventsCount is actually not used (I mean the 
values is not checked)

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

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

Reply via email to