Searched refs:lock2 (Results 1 – 3 of 3) sorted by relevance
648 final ReentrantLock lock2 = new ReentrantLock(fair); in testHasWaitersIAE() local650 lock2.hasWaiters(c); in testHasWaitersIAE()677 final ReentrantLock lock2 = new ReentrantLock(fair); in testGetWaitQueueLengthIAE() local679 lock2.getWaitQueueLength(c); in testGetWaitQueueLengthIAE()706 final PublicReentrantLock lock2 = new PublicReentrantLock(fair); in testGetWaitingThreadsIAE() local708 lock2.getWaitingThreads(c); in testGetWaitingThreadsIAE()
1425 final ReentrantReadWriteLock lock2 = new ReentrantReadWriteLock(fair); in testHasWaitersIAE() local1427 lock2.hasWaiters(c); in testHasWaitersIAE()1454 final ReentrantReadWriteLock lock2 = new ReentrantReadWriteLock(fair); in testGetWaitQueueLengthIAE() local1456 lock2.getWaitQueueLength(c); in testGetWaitQueueLengthIAE()1484 final PublicReentrantReadWriteLock lock2 = in testGetWaitingThreadsIAE() local1487 lock2.getWaitingThreads(c); in testGetWaitingThreadsIAE()
48 public int compare(FileLock lock1, FileLock lock2) {50 long position2 = lock2.position();