1Testing contended locking. 2Locker thread 1 for NamedLock[Lock testLock] contended-LOCKING NamedLock[Lock testLock] 3Locker thread 1 for NamedLock[Lock testLock] LOCKED NamedLock[Lock testLock] 4Testing monitor wait. 5Locker thread 2 for NamedLock[Lock testWait] start-monitor-wait NamedLock[Lock testWait] timeout: 0 6Locker thread 2 for NamedLock[Lock testWait] monitor-waited NamedLock[Lock testWait] timed_out: false 7Testing monitor timed wait. 8Locker thread 4 for NamedLock[Lock testTimedWait] start-monitor-wait NamedLock[Lock testTimedWait] timeout: 3600000 9Locker thread 4 for NamedLock[Lock testTimedWait] monitor-waited NamedLock[Lock testTimedWait] timed_out: false 10Testing monitor timed with timeout. 11Waiting for 10 seconds. 12Locker thread 6 for NamedLock[Lock testTimedWaitTimeout] start-monitor-wait NamedLock[Lock testTimedWaitTimeout] timeout: 10000 13Locker thread 6 for NamedLock[Lock testTimedWaitTimeout] monitor-waited NamedLock[Lock testTimedWaitTimeout] timed_out: true 14Wait finished with timeout. 15Waiting on an unlocked monitor. 16Unlocked wait thread: start-monitor-wait NamedLock[Lock testUnlockedWait] timeout: 0 17Caught exception: java.lang.reflect.InvocationTargetException 18 Caused by: class java.lang.IllegalMonitorStateException 19Waiting with an illegal argument (negative timeout) 20Locker thread 7 for NamedLock[Lock testIllegalWait] start-monitor-wait NamedLock[Lock testIllegalWait] timeout: -100 21Caught exception: art.Monitors$TestException: Exception thrown by other thread! 22 Caused by: art.Monitors$TestException: Got an error while performing action TIMED_WAIT 23 Caused by: class java.lang.IllegalArgumentException 24Interrupt a monitor being waited on. 25Locker thread 8 for NamedLock[Lock testInteruptWait] start-monitor-wait NamedLock[Lock testInteruptWait] timeout: 0 26Locker thread 8 for NamedLock[Lock testInteruptWait] monitor-waited NamedLock[Lock testInteruptWait] timed_out: false 27Caught exception: art.Monitors$TestException: Exception thrown by other thread! 28 Caused by: art.Monitors$TestException: Got an error while performing action WAIT 29 Caused by: class java.lang.InterruptedException 30