On Fri, 5 Jan 2024 17:42:42 GMT, Alan Bateman <al...@openjdk.org> wrote:

> Serguei is working to change notifyJvmtiDisableSuspend to be a static method 
> (JDK-8322744) to make it clearer that it disable suspend of the current 
> virtual thread rather than the receiver.

That explains it then. Before commenting, I did check if 
`notifyJvmtiDisableSuspend` operates on the `Thread.currentThread()` but it was 
an instance method which ended up being a `native` method and I didn't dig 
deeper but assumed it works on the thread instance on which it is called.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17219#discussion_r1443173235

Reply via email to