Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4939080

JVMTI spec: jvmtiThreadStatus should match java.lang.management.ThreadState

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • hotspot
    • generic
    • generic

      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.


         

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: