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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 5.0
    • Component/s: 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.


         

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: