Searched refs:tryConvertToWriteLock (Results 1 – 4 of 4) sorted by relevance
804 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()
140 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()
713 public long tryConvertToWriteLock(long stamp) { in tryConvertToWriteLock() method in StampedLock
17050 method public long tryConvertToWriteLock(long);