Searched defs:stamp (Results 1 – 6 of 6) sorted by relevance
35 long stamp = lock.tryConvertToReadLock(0L); in testIsLockStamp() local49 long stamp = lock.readLock(); in testIsOptimisticReadStamp() local63 long stamp = lock.writeLock(); in testIsReadLockStamp() local76 long stamp = lock.readLock(); in testIsWriteLockStamp() local
57 final int stamp; field in AtomicStampedReference.Pair58 private Pair(T reference, int stamp) { in Pair()62 static <T> Pair<T> of(T reference, int stamp) { in of()
638 public boolean validate(long stamp) { in validate()652 public void unlockWrite(long stamp) { in unlockWrite()667 public void unlockRead(long stamp) { in unlockRead()694 public void unlock(long stamp) { in unlock()713 public long tryConvertToWriteLock(long stamp) { in tryConvertToWriteLock()747 public long tryConvertToReadLock(long stamp) { in tryConvertToReadLock()781 public long tryConvertToOptimisticRead(long stamp) { in tryConvertToOptimisticRead()896 public static boolean isWriteLockStamp(long stamp) { in isWriteLockStamp()919 public static boolean isReadLockStamp(long stamp) { in isReadLockStamp()945 public static boolean isLockStamp(long stamp) { in isLockStamp()[all …]
64 void releaseWriteLock(StampedLock lock, long stamp) { in releaseWriteLock()75 void releaseReadLock(StampedLock lock, long stamp) { in releaseReadLock()88 long assertValid(StampedLock lock, long stamp) { in assertValid()627 long stamp = lock.writeLock(); in testTimedLock_Timeout() local1158 final long stamp = readLocker.apply(sl); in testInvalidStampsThrowIllegalMonitorStateException() local1172 final long stamp = writeLocker.apply(sl); in testInvalidStampsThrowIllegalMonitorStateException() local1196 long stamp = readLocker.apply(lock); in testDeeplyNestedReadLocks() local
590 private transient int[] stamp; field in Calendar
860 private transient int stamp[]; field in Calendar