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

JVMTI Doc: MonitorWait / MonitorWaited event description misleading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • hotspot
    • b95
    • generic
    • generic

      The description of the MonitorWait event is:

        Sent when a thread is about to wait on an object.
        That is, a thread is entering Object.wait().

      The second sentence is confusing because it is unclear if the thread has actually entered Object.wait() and more confusingly which of the "wait" methods on Object. Note that one wait method may call another.
      Note that the MonitorWaited event description has a second sentence that is confusing in the same way.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: