made coherent the invoke of offHeap.readLock() in DirtyReadIntolerant.java

This commit is contained in:
cotton-ben
2020-07-18 13:40:02 -04:00
parent fc66df2e49
commit b17b5f3c66
@@ -27,7 +27,7 @@ public class DirtyReadIntolerant {
long stamp = 0;
System.out.println(
" ,,@t=" + System.currentTimeMillis() +
" DirtyReadIntolerant ENTERING offHeapLock.tryReadLock()"
" DirtyReadIntolerant ENTERING offHeapLock.readLock()"
);
StampedLock offHeapLock =
new ChronicleStampedLock(
@@ -44,7 +44,7 @@ public class DirtyReadIntolerant {
}
System.out.println(
" ,,@t=" + System.currentTimeMillis() +
" DirtyReadIntolerant ENTERED offHeapLock.tryReadLock() " +
" DirtyReadIntolerant ENTERED offHeapLock.readLock() " +
" stamp=[" +
stamp +
"]"