1 Testing contended locking. 2 Locker thread 1 for NamedLock[Lock testLock] contended-LOCKING NamedLock[Lock testLock] 3 Locker thread 1 for NamedLock[Lock testLock] LOCKED NamedLock[Lock testLock] 4 Testing monitor wait. 5 Locker thread 2 for NamedLock[Lock testWait] start-monitor-wait NamedLock[Lock testWait] timeout: 0 6 Locker thread 2 for NamedLock[Lock testWait] monitor-waited NamedLock[Lock testWait] timed_out: false 7 Testing monitor timed wait. 8 Locker thread 4 for NamedLock[Lock testTimedWait] start-monitor-wait NamedLock[Lock testTimedWait] timeout: 3600000 9 Locker thread 4 for NamedLock[Lock testTimedWait] monitor-waited NamedLock[Lock testTimedWait] timed_out: false 10 Testing monitor timed with timeout. 11 Waiting for 10 seconds. 12 Locker thread 6 for NamedLock[Lock testTimedWaitTimeout] start-monitor-wait NamedLock[Lock testTimedWaitTimeout] timeout: 10000 13 Locker thread 6 for NamedLock[Lock testTimedWaitTimeout] monitor-waited NamedLock[Lock testTimedWaitTimeout] timed_out: true 14 Wait finished with timeout. 15 Waiting on an unlocked monitor. 16 Unlocked wait thread: start-monitor-wait NamedLock[Lock testUnlockedWait] timeout: 0 17 Caught exception: java.lang.reflect.InvocationTargetException 18 Caused by: class java.lang.IllegalMonitorStateException 19 Waiting with an illegal argument (negative timeout) 20 Locker thread 7 for NamedLock[Lock testIllegalWait] start-monitor-wait NamedLock[Lock testIllegalWait] timeout: -100 21 Caught 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 24 Interrupt a monitor being waited on. 25 Locker thread 8 for NamedLock[Lock testInteruptWait] start-monitor-wait NamedLock[Lock testInteruptWait] timeout: 0 26 Locker thread 8 for NamedLock[Lock testInteruptWait] monitor-waited NamedLock[Lock testInteruptWait] timed_out: false 27 Caught 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