Home
last modified time | relevance | path

Searched refs:getExclusiveQueuedThreads (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractQueuedLongSynchronizerTest.java196 assertEquals(new HashSet<Thread>(sync.getExclusiveQueuedThreads()), in assertHasExclusiveQueuedThreads()
210 assertEquals(0, sync.getExclusiveQueuedThreads().size()); in assertHasSharedQueuedThreads()
211 assertTrue(sync.getExclusiveQueuedThreads().isEmpty()); in assertHasSharedQueuedThreads()
475 assertTrue(sync.getExclusiveQueuedThreads().contains(t1)); in testGetExclusiveQueuedThreads()
476 assertFalse(sync.getExclusiveQueuedThreads().contains(t2)); in testGetExclusiveQueuedThreads()
480 assertTrue(sync.getExclusiveQueuedThreads().contains(t1)); in testGetExclusiveQueuedThreads()
481 assertTrue(sync.getExclusiveQueuedThreads().contains(t2)); in testGetExclusiveQueuedThreads()
DAbstractQueuedSynchronizerTest.java199 assertEquals(new HashSet<Thread>(sync.getExclusiveQueuedThreads()), in assertHasExclusiveQueuedThreads()
213 assertEquals(0, sync.getExclusiveQueuedThreads().size()); in assertHasSharedQueuedThreads()
214 assertTrue(sync.getExclusiveQueuedThreads().isEmpty()); in assertHasSharedQueuedThreads()
478 assertTrue(sync.getExclusiveQueuedThreads().contains(t1)); in testGetExclusiveQueuedThreads()
479 assertFalse(sync.getExclusiveQueuedThreads().contains(t2)); in testGetExclusiveQueuedThreads()
483 assertTrue(sync.getExclusiveQueuedThreads().contains(t1)); in testGetExclusiveQueuedThreads()
484 assertTrue(sync.getExclusiveQueuedThreads().contains(t2)); in testGetExclusiveQueuedThreads()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedSynchronizerTest.java171 assertEquals(new HashSet<Thread>(sync.getExclusiveQueuedThreads()), in assertHasExclusiveQueuedThreads()
185 assertEquals(0, sync.getExclusiveQueuedThreads().size()); in assertHasSharedQueuedThreads()
186 assertTrue(sync.getExclusiveQueuedThreads().isEmpty()); in assertHasSharedQueuedThreads()
450 assertTrue(sync.getExclusiveQueuedThreads().contains(t1)); in testGetExclusiveQueuedThreads()
451 assertFalse(sync.getExclusiveQueuedThreads().contains(t2)); in testGetExclusiveQueuedThreads()
455 assertTrue(sync.getExclusiveQueuedThreads().contains(t1)); in testGetExclusiveQueuedThreads()
456 assertTrue(sync.getExclusiveQueuedThreads().contains(t2)); in testGetExclusiveQueuedThreads()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java1328 return sync.getExclusiveQueuedThreads(); in getQueuedWriterThreads()
DAbstractQueuedLongSynchronizer.java1129 public final Collection<Thread> getExclusiveQueuedThreads() { in getExclusiveQueuedThreads() method in AbstractQueuedLongSynchronizer