Description
ReentrantReadWriteLock's are only the right solution when there is long hold time due to expensive I/O.
It is expensive for readers.
We should see if the lighter StampedLock can be used instead.
ReentrantReadWriteLock's are only the right solution when there is long hold time due to expensive I/O.
It is expensive for readers.
We should see if the lighter StampedLock can be used instead.