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.
- relates to
-
JDK-8310066 Improve test coverage for JVMTI GetThreadState on carrier and mounted vthread
-
- Resolved
-
-
JDK-8309612 [REDO] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
-
- Resolved
-