Searched refs:tryConvertToWriteLock (Results 1 – 2 of 2) 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()
591 public long tryConvertToWriteLock(long stamp) { in tryConvertToWriteLock() method in StampedLock