Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
1) Names should match (ThreadState has better names, so JVMTI should change): JVMTI_THREAD_STATUS_ZOMBIE ==> JVMTI_THREAD_STATUS_TERMINATED JVMTI_THREAD_STATUS_MONITOR ==> JVMTI_THREAD_STATUS_BLOCKED Old names should remain additionally to allow a smooth transition but must be removed before release. 2) Not all platforms can provide JVMTI_THREAD_STATUS_IO_WAIT, so it should be conditional on a capability: can_get_io_wait_status 3) The constants should be renumbered so as to be in a reasonable order, to be non-negative, to allow for the above, and to be unique.
|