diff --git a/src/main/java/net/openhft/chronicle/hash/impl/VanillaChronicleHash.java b/src/main/java/net/openhft/chronicle/hash/impl/VanillaChronicleHash.java index 39111e31f..2c47fc690 100644 --- a/src/main/java/net/openhft/chronicle/hash/impl/VanillaChronicleHash.java +++ b/src/main/java/net/openhft/chronicle/hash/impl/VanillaChronicleHash.java @@ -17,7 +17,6 @@ package net.openhft.chronicle.hash.impl; -import com.sun.jna.Native; import com.sun.jna.Platform; import net.openhft.chronicle.algo.locks.*; import net.openhft.chronicle.bytes.BytesStore; @@ -29,6 +28,7 @@ import net.openhft.chronicle.hash.*; import net.openhft.chronicle.hash.impl.util.BuildVersion; import net.openhft.chronicle.hash.impl.util.Cleaner; import net.openhft.chronicle.hash.impl.util.CleanerUtils; +import net.openhft.chronicle.hash.impl.util.jna.PosixFallocate; import net.openhft.chronicle.hash.impl.util.jna.PosixMsync; import net.openhft.chronicle.hash.impl.util.jna.WindowsMsync; import net.openhft.chronicle.hash.serialization.DataAccess; @@ -42,12 +42,9 @@ import net.openhft.chronicle.wire.Marshallable; import net.openhft.chronicle.wire.WireIn; import net.openhft.chronicle.wire.WireOut; import org.jetbrains.annotations.NotNull; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import java.io.*; import java.lang.ref.WeakReference; -import java.lang.reflect.Field; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.util.ArrayList; @@ -70,9 +67,6 @@ public abstract class VanillaChronicleHash> implements ChronicleHash, Marshallable { - private static final Logger LOG = - LoggerFactory.getLogger(VanillaChronicleHash.class.getName()); - public static final long TIER_COUNTERS_AREA_SIZE = 64; public static final long RESERVED_GLOBAL_MUTABLE_STATE_BYTES = 1024; @@ -949,36 +943,6 @@ public abstract class VanillaChronicleHash