The contended monitor events (Enter, Entered, Exit) were carried over
from JVMPI without detailed review. The enter and entered events are
important for agents and profilers that monitor contention times but
the exit event is questionable. Profilers wishing to monitor the time
in synchronized blocks or methods will use BCI rather than events
- JVMTI doesn't have an event specified for when a monitor is exited
and there aren't any threads waiting.
In addition to the above this event cannot be safely implemented in
the HotSpot VM (the RI for this JSR). There are no oopmaps at monitor
exit and hence the event can't block or GC.
###@###.### 2004-01-30
- duplicates
-
JDK-4982672 nsk/jvmti/MonitorContendedExit/mcontexit001 fails in -Xcomp mode
-
- Closed
-