From b17b5f3c66a0fcfcc292a6e2a141fc7c1eb04840 Mon Sep 17 00:00:00 2001 From: cotton-ben Date: Sat, 18 Jul 2020 13:40:02 -0400 Subject: [PATCH] made coherent the invoke of offHeap.readLock() in DirtyReadIntolerant.java --- .../map/fromdocs/acid/revelations/DirtyReadIntolerant.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/net/openhft/chronicle/map/fromdocs/acid/revelations/DirtyReadIntolerant.java b/src/test/java/net/openhft/chronicle/map/fromdocs/acid/revelations/DirtyReadIntolerant.java index ae24c3ec5..c4068389c 100644 --- a/src/test/java/net/openhft/chronicle/map/fromdocs/acid/revelations/DirtyReadIntolerant.java +++ b/src/test/java/net/openhft/chronicle/map/fromdocs/acid/revelations/DirtyReadIntolerant.java @@ -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 + "]"