Relates :
|
|
Relates :
|
|
Relates :
|
The JVMTI spec for MonitorWait says Sent when a thread is about to wait on an object The javadoc for Object.wait() says: This method causes the current thread (call it T) to place itself in the wait set for this object and then to relinquish any and all synchronization claims on this object. Should the JVMTI spec should be clearer about just what state the thread is in when the event occurs, relative to the above description? EG? - has the thread placed itself in the wait state? - has the thread relinquished synch claims? For example, if a ContendedMonitorEntered event is enabled for this monitor, and will be sent, will it be sent before or after the MonitorWait event? Ditto the above for MonitorWaited.
|