MonitorContendedEnterEvent contendedEnterEvent = (MonitorContendedEnterEvent) event;
handler.onContendedMonitorBlocked( suspension, event.virtualMachine(),
contendedEnterEvent.thread(),
(MonitorContendedEnterRequest) event.request(),
contendedEnterEvent.monitor(),
contendedEnterEvent.location() );
}
else if ( event instanceof MonitorContendedEnteredEvent )
{
MonitorContendedEnteredEvent contendedEnteredEvent = (MonitorContendedEnteredEvent) event;
handler.onContendedMonitorEntered( suspension, event.virtualMachine(),