On Tue, 19 May 2026 17:10:34 GMT, Leonid Mesnik <[email protected]> wrote:

>> Also, why the steps are not numbered starting from 0?
>
> setCallBacks(1) is called in Agent_Initialize.
> 
> The setCallBack is called for next step.
> 
> Might be more convenient to count steps from 1? I am not sure

The 100 should be enough, it is the very small gap between calling of jvmti 
method and  counter change.
I moved the changeCount into the beginning of method also.

So it is the same place where we can obtain monitor.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31128#discussion_r3268225286

Reply via email to