Searched refs:writeLockA (Results 1 – 1 of 1) sorted by relevance
47 private ReentrantReadWriteLock.WriteLock writeLockA; field in CycleDetectingLockFactoryTest74 writeLockA = readWriteLockA.writeLock(); in setUp()329 writeLockA.lock(); in testWriteLock_threeLockDeadLock()332 writeLockA.unlock(); in testWriteLock_threeLockDeadLock()341 writeLockA.lock(); in testWriteLock_threeLockDeadLock()353 writeLockA.lock(); // writeLockA downgrades to readLockA in testWriteToReadLockDowngrading()355 writeLockA.unlock(); in testWriteToReadLockDowngrading()362 writeLockA.lock(); in testWriteToReadLockDowngrading()371 writeLockA.lock(); // Establish an ordering from writeLockA -> lockB in testReadWriteLockDeadlock()373 writeLockA.unlock(); in testReadWriteLockDeadlock()[all …]