Home
last modified time | relevance | path

Searched refs:tryConvertToOptimisticRead (Results 1 – 2 of 2) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DStampedLockTest.java727 assertFalse((p = lock.tryConvertToOptimisticRead(s)) != 0L); in testTryConvertToOptimisticRead()
729 assertTrue((p = lock.tryConvertToOptimisticRead(s)) != 0L); in testTryConvertToOptimisticRead()
731 assertTrue((p = lock.tryConvertToOptimisticRead(s)) != 0L); in testTryConvertToOptimisticRead()
735 assertTrue((p = lock.tryConvertToOptimisticRead(s)) != 0L); in testTryConvertToOptimisticRead()
739 assertTrue((p = lock.tryConvertToOptimisticRead(s)) != 0L); in testTryConvertToOptimisticRead()
743 assertTrue((p = lock.tryConvertToOptimisticRead(s)) != 0L); in testTryConvertToOptimisticRead()
746 assertTrue((p = lock.tryConvertToOptimisticRead(s)) != 0L); in testTryConvertToOptimisticRead()
750 assertTrue((p = lock.tryConvertToOptimisticRead(s)) != 0L); in testTryConvertToOptimisticRead()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java695 public long tryConvertToOptimisticRead(long stamp) { in tryConvertToOptimisticRead() method in StampedLock