RFR: 8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning [v9]
Patricio Chilano Mateo
pchilanomate at openjdk.org
Mon Oct 28 22:10:55 UTC 2024
On Mon, 28 Oct 2024 00:31:27 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> It is, we still increment _waiters for the vthread case.
>
> Sorry the target of my comment was not clear. `thread_of_waiter` looks suspicious - will JVMTI find the vthread from the JavaThread?
If the ObjectWaiter is associated with a vthread(we unmounted in `Object.wait`) we just return null. We'll skip it from JVMTI code.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21565#discussion_r1819834478
More information about the nio-dev
mailing list