On Wed, 7 Jun 2023 05:50:46 GMT, Alan Bateman wrote:
>>> > is_carrying_carrier_thread? a bit artificial, but it's a carrier thread
>>> > and it's carrying a virtual thread
>>>
>>> I guess, your suggestion is `is_carrying_virtual_thread`. Is it right? If
>>> so, I like this suggestion.
>>
>> U
> When a virtual thread is mounted, the carrier thread should be reported as
> "waiting" until the virtual thread unmounts. Right now, GetThreadState
> reports a state based the JavaThread status when it should return
> JVMTI_THREAD_STATE_WAITING | JVMTI_THREAD_STATE_WAITING_INDEFINITELY.
> The