Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DStampedLockTest.java804 assertFalse((p = lock.tryConvertToWriteLock(s)) != 0L); in testTryConvertToWriteLock()
806 assertTrue((p = lock.tryConvertToWriteLock(s)) != 0L); in testTryConvertToWriteLock()
809 assertTrue((p = lock.tryConvertToWriteLock(s)) != 0L); in testTryConvertToWriteLock()
814 assertTrue((p = lock.tryConvertToWriteLock(s)) != 0L); in testTryConvertToWriteLock()
819 assertTrue((p = lock.tryConvertToWriteLock(s)) != 0L); in testTryConvertToWriteLock()
824 assertTrue((p = lock.tryConvertToWriteLock(s)) != 0L); in testTryConvertToWriteLock()
828 assertTrue((p = lock.tryConvertToWriteLock(s)) != 0L); in testTryConvertToWriteLock()
833 assertTrue((p = lock.tryConvertToWriteLock(s)) != 0L); in testTryConvertToWriteLock()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DStampedLockTest.java140 writeLockers.add(sl -> sl.tryConvertToWriteLock(sl.tryOptimisticRead())); in writeLockers()
878 assertEquals(0L, lock.tryConvertToWriteLock(0L)); in testTryConvertToWriteLock()
881 assertTrue((p = lock.tryConvertToWriteLock(s)) != 0L); in testTryConvertToWriteLock()
888 assertEquals(s, lock.tryConvertToWriteLock(s)); in testTryConvertToWriteLock()
896 p = assertValid(lock, lock.tryConvertToWriteLock(s)); in testTryConvertToWriteLock()
908 assertEquals(0L, lock.tryConvertToWriteLock(s)); in testTryConvertToWriteLock()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java713 public long tryConvertToWriteLock(long stamp) { in tryConvertToWriteLock() method in StampedLock
/libcore/api/
Dcurrent.txt17050 method public long tryConvertToWriteLock(long);