Home
last modified time | relevance | path

Searched refs:assertHasWaiters (Results 1 – 4 of 4) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java133 assertHasWaiters(lock, c, new Thread[] {}); in assertHasNoWaiters()
139 void assertHasWaiters(PublicReentrantLock lock, Condition c, in assertHasWaiters() method in ReentrantLockTest
601 assertHasWaiters(lock, c, t); in testAwait()
758 assertHasWaiters(lock, c, t); in testHasWaiters()
806 assertHasWaiters(lock, c, t1); in testGetWaitQueueLength()
814 assertHasWaiters(lock, c, t1, t2); in testGetWaitQueueLength()
862 assertHasWaiters(lock, c, t1); in testGetWaitingThreads()
872 assertHasWaiters(lock, c, t1, t2); in testGetWaitingThreads()
966 assertHasWaiters(lock, c, t); in testInterruptible()
1001 assertHasWaiters(lock, c, t1, t2); in testSignalAll()
[all …]
DReentrantReadWriteLockTest.java142 assertHasWaiters(lock, c, new Thread[] {}); in assertHasNoWaiters()
148 void assertHasWaiters(PublicReentrantReadWriteLock lock, Condition c, in assertHasWaiters() method in ReentrantReadWriteLockTest
1006 assertHasWaiters(lock, c, t); in testAwait()
1094 assertHasWaiters(lock, c, t); in testInterruptible()
1131 assertHasWaiters(lock, c, t1, t2); in testSignalAll()
1172 assertHasWaiters(lock, c, t1, t2); in testSignalWakesFifo()
1175 assertHasWaiters(lock, c, t2); in testSignalWakesFifo()
1225 assertHasWaiters(lock, c, t1, t2); in testAwaitLockCount()
1542 assertHasWaiters(lock, c, t); in testHasWaiters()
1573 assertHasWaiters(lock, c, t); in testGetWaitQueueLength()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DReentrantLockTest.java156 assertHasWaiters(lock, c, new Thread[] {}); in assertHasNoWaiters()
162 void assertHasWaiters(PublicReentrantLock lock, Condition c, in assertHasWaiters() method in ReentrantLockTest
624 assertHasWaiters(lock, c, t); in testAwait()
781 assertHasWaiters(lock, c, t); in testHasWaiters()
829 assertHasWaiters(lock, c, t1); in testGetWaitQueueLength()
837 assertHasWaiters(lock, c, t1, t2); in testGetWaitQueueLength()
885 assertHasWaiters(lock, c, t1); in testGetWaitingThreads()
895 assertHasWaiters(lock, c, t1, t2); in testGetWaitingThreads()
989 assertHasWaiters(lock, c, t); in testInterruptible()
1024 assertHasWaiters(lock, c, t1, t2); in testSignalAll()
[all …]
DReentrantReadWriteLockTest.java165 assertHasWaiters(lock, c, new Thread[] {}); in assertHasNoWaiters()
171 void assertHasWaiters(PublicReentrantReadWriteLock lock, Condition c, in assertHasWaiters() method in ReentrantReadWriteLockTest
1026 assertHasWaiters(lock, c, t); in testAwait()
1114 assertHasWaiters(lock, c, t); in testInterruptible()
1151 assertHasWaiters(lock, c, t1, t2); in testSignalAll()
1192 assertHasWaiters(lock, c, t1, t2); in testSignalWakesFifo()
1195 assertHasWaiters(lock, c, t2); in testSignalWakesFifo()
1245 assertHasWaiters(lock, c, t1, t2); in testAwaitLockCount()
1562 assertHasWaiters(lock, c, t); in testHasWaiters()
1593 assertHasWaiters(lock, c, t); in testGetWaitQueueLength()