On Mon, 28 Oct 2024 00:31:27 GMT, David Holmes <dhol...@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

Reply via email to