Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.3
-
None
-
None
Description
We have the following pattern in PageMemoryImpl#stop():
volatile boolean closed; ... closed = true; writeLock.lock(); writeLock.unlock();
An empty lock/unlock pair can be eliminated, so the code must be changed and the flag should be moved to the segment class.