mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
made coherent the invoke of offHeap.readLock() in DirtyReadIntolerant.java
This commit is contained in:
+2
-2
@@ -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 +
|
||||
"]"
|
||||
|
||||
Reference in New Issue
Block a user