RFR: 8322829: Refactor nioBlocker to avoid blocking while holding Thread's interrupt lock
Jaikiran Pai
jpai at openjdk.org
Fri Jan 5 17:50:27 UTC 2024
On Fri, 5 Jan 2024 17:42:42 GMT, Alan Bateman <alanb at 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
More information about the core-libs-dev
mailing list