Home
last modified time | relevance | path

Searched refs:getWaitQueueLength (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java723 public int getWaitQueueLength(Condition condition) { in getWaitQueueLength() method in ReentrantLock
728 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()
DReentrantReadWriteLock.java1442 public int getWaitQueueLength(Condition condition) { in getWaitQueueLength() method in ReentrantReadWriteLock
1447 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()
DAbstractQueuedLongSynchronizer.java1339 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength() method in AbstractQueuedLongSynchronizer
1342 return condition.getWaitQueueLength(); in getWaitQueueLength()
1778 protected final int getWaitQueueLength() { in getWaitQueueLength() method in AbstractQueuedLongSynchronizer.ConditionObject
DAbstractQueuedSynchronizer.java1813 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength() method in AbstractQueuedSynchronizer
1816 return condition.getWaitQueueLength(); in getWaitQueueLength()
2250 protected final int getWaitQueueLength() { in getWaitQueueLength() method in AbstractQueuedSynchronizer.ConditionObject
/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java143 assertEquals(threads.length, lock.getWaitQueueLength(c)); in assertHasWaiters()
630 lock.getWaitQueueLength(null); in testGetWaitQueueLengthNPE()
687 lock2.getWaitQueueLength(c); in testGetWaitQueueLengthIAE()
701 lock.getWaitQueueLength(c); in testGetWaitQueueLengthIMSE()
782 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
792 assertEquals(1, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
799 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
807 assertEquals(1, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
815 assertEquals(2, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
DAbstractQueuedSynchronizerTest.java206 assertEquals(threads.length, sync.getWaitQueueLength(c)); in assertHasWaitersLocked()
723 sync.getWaitQueueLength(null);
774 sync2.getWaitQueueLength(c);
787 sync.getWaitQueueLength(c);
864 assertEquals(0, sync.getWaitQueueLength(c));
872 assertEquals(1, sync.getWaitQueueLength(c));
879 assertEquals(1, sync.getWaitQueueLength(c));
888 assertEquals(2, sync.getWaitQueueLength(c));
892 assertEquals(0, sync.getWaitQueueLength(c));
DAbstractQueuedLongSynchronizerTest.java203 assertEquals(threads.length, sync.getWaitQueueLength(c)); in assertHasWaitersLocked()
720 sync.getWaitQueueLength(null);
771 sync2.getWaitQueueLength(c);
784 sync.getWaitQueueLength(c);
861 assertEquals(0, sync.getWaitQueueLength(c));
869 assertEquals(1, sync.getWaitQueueLength(c));
876 assertEquals(1, sync.getWaitQueueLength(c));
885 assertEquals(2, sync.getWaitQueueLength(c));
889 assertEquals(0, sync.getWaitQueueLength(c));
DReentrantReadWriteLockTest.java152 assertEquals(threads.length, lock.getWaitQueueLength(c)); in assertHasWaiters()
1410 lock.getWaitQueueLength(null); in testGetWaitQueueLengthNPE()
1467 lock2.getWaitQueueLength(c); in testGetWaitQueueLengthIAE()
1481 lock.getWaitQueueLength(c); in testGetWaitQueueLengthIMSE()
1565 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
1574 assertEquals(1, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
1577 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java116 public int getWaitQueueLength(java.util.concurrent.locks.Condition condition) { in getWaitQueueLength() method in ReentrantLock