Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java643 final int getWriteHoldCount() { in getWriteHoldCount() method in ReentrantReadWriteLock.Sync
1236 return sync.getWriteHoldCount(); in getHoldCount()
1308 public int getWriteHoldCount() { in getWriteHoldCount() method in ReentrantReadWriteLock
1309 return sync.getWriteHoldCount(); in getWriteHoldCount()
/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantReadWriteLockTest.java83 assertEquals(1, lock.getWriteHoldCount()); in releaseWriteLock()
109 assertEquals(0, lock.getWriteHoldCount()); in assertNotWriteLocked()
125 lock.getWriteHoldCount() > 0); in assertWriteLockedBy()
242 assertEquals(i,lock.getWriteHoldCount()); in testGetWriteHoldCount()
246 assertEquals(i - 1,lock.getWriteHoldCount()); in testGetWriteHoldCount()
741 assertEquals(1, lock.getWriteHoldCount()); in testWriteHoldingWriteLock4()
744 assertEquals(2, lock.getWriteHoldCount()); in testWriteHoldingWriteLock4()
747 assertEquals(1, lock.getWriteHoldCount()); in testWriteHoldingWriteLock4()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DReentrantReadWriteLockTest.java106 assertEquals(1, lock.getWriteHoldCount()); in releaseWriteLock()
132 assertEquals(0, lock.getWriteHoldCount()); in assertNotWriteLocked()
148 lock.getWriteHoldCount() > 0); in assertWriteLockedBy()
265 assertEquals(i,lock.getWriteHoldCount()); in testGetWriteHoldCount()
269 assertEquals(i - 1,lock.getWriteHoldCount()); in testGetWriteHoldCount()
764 assertEquals(1, lock.getWriteHoldCount()); in testWriteHoldingWriteLock4()
767 assertEquals(2, lock.getWriteHoldCount()); in testWriteHoldingWriteLock4()
770 assertEquals(1, lock.getWriteHoldCount()); in testWriteHoldingWriteLock4()
/libcore/api/
Dcurrent.txt17001 method public int getWriteHoldCount();