On Fri, 19 Dec 2025 13:19:22 GMT, Patricio Chilano Mateo 
<[email protected]> wrote:

> We don't need to check for a specific operation, we can make it general by 
> defining a virtual method in `HandshakeClosure` (e.g. 
> `needs_jni_critical_check`) that's overriden by any operation that requires 
> this check.

That isn't really any better to me. The general purpose handshake code should 
not have to be JNI-critical aware.

That aside I'm also struggling to see how we make the originator thread block 
when the target thread executes the handshake operation code.

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

PR Comment: https://git.openjdk.org/jdk/pull/28884#issuecomment-3679933261

Reply via email to