Searched refs:tryConvertToOptimisticRead (Results 1 – 2 of 2) sorted by relevance
727 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()
695 public long tryConvertToOptimisticRead(long stamp) { in tryConvertToOptimisticRead() method in StampedLock