United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6455248 : JVMTI Doc: MonitorWait / MonitorWaited event description misleading

Details
Type:
Bug
Submit Date:
2006-07-31
Status:
Resolved
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2006-08-10
Component:
hotspot
OS:
generic
Sub-Component:
jvmti
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:

Related Reports
Relates:
Relates:

Sub Tasks

Description
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.

                                    

Comments
EVALUATION

Should be fixed.  See Suggested Fix.  In a future release the spec should be appropriately clarified.
                                     
2006-07-31
SUGGESTED FIX

Remove the confusing second sentence.
                                     
2006-07-31



Hardware and Software, Engineered to Work Together