From 95ca1974442023306bb9820ad703d9c1f6cd74da Mon Sep 17 00:00:00 2001 From: leventov Date: Sat, 1 Oct 2016 17:07:47 +0300 Subject: [PATCH] Move ThreadLocalState.iterationContextLockedInThisThread after static members in this class --- .../chronicle/hash/impl/stage/hash/ThreadLocalState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/openhft/chronicle/hash/impl/stage/hash/ThreadLocalState.java b/src/main/java/net/openhft/chronicle/hash/impl/stage/hash/ThreadLocalState.java index cff24a2dd..4941373a3 100644 --- a/src/main/java/net/openhft/chronicle/hash/impl/stage/hash/ThreadLocalState.java +++ b/src/main/java/net/openhft/chronicle/hash/impl/stage/hash/ThreadLocalState.java @@ -29,7 +29,6 @@ import java.util.concurrent.TimeUnit; import static net.openhft.chronicle.hash.impl.BigSegmentHeader.LOCK_TIMEOUT_SECONDS; public abstract class ThreadLocalState { - public boolean iterationContextLockedInThisThread; private static final Memory MEMORY = OS.memory(); private static final long CONTEXT_LOCK_OFFSET; @@ -49,6 +48,7 @@ public abstract class ThreadLocalState { } private volatile int contextLock = CONTEXT_UNLOCKED; + public boolean iterationContextLockedInThisThread; /** * Returns {@code true} if this is the outer context lock in this thread, {@code false} if this