The current GetThreadStatus returns an ordinal indicating the thread status.
What we have learned from this (and similar functionality) is that an ordinal
return values break everytime a new state is added or more detail is provided.
There is also no allowance for partial information -- for example, a VM may
know it is waiting but not know further details.
What we have learned from this (and similar functionality) is that an ordinal
return values break everytime a new state is added or more detail is provided.
There is also no allowance for partial information -- for example, a VM may
know it is waiting but not know further details.
- duplicates
-
JDK-4939080 JVMTI spec: jvmtiThreadStatus should match java.lang.management.ThreadState
-
- Closed
-
- relates to
-
JDK-4998297 JVMTI Spec: Remove GetThreadStatus which was deprecated in 4980307
-
- Closed
-
-
JDK-5028424 JVMTI Spec: Align GetThreadState bits with java.lang.Thread.State
-
- Resolved
-