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

GetThreadState spec mentions undefined JVMTI_THREAD_STATE_MONITOR_WAITING

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • None
    • hotspot
    • b04

      Spec for GetThreadState function (examples section) says:


      The state of a thread at a Object.wait(3000) would be:
                      JVMTI_THREAD_STATE_ALIVE + JVMTI_THREAD_STATE_WAITING +
                          JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT +
                          JVMTI_THREAD_STATE_MONITOR_WAITING

      JVMTI spec does not define JVMTI_THREAD_STATE_MONITOR_WAITING constant.
      It should be JVMTI_THREAD_STATE_IN_OBJECT_WAIT

            amenkov Alex Menkov
            amenkov Alex Menkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: