mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Improved unmonitoring for nested objects i.e. objects contains objects which should also be unmonitored.
This commit is contained in:
@@ -22,7 +22,7 @@ import net.openhft.chronicle.bytes.Bytes;
|
||||
import net.openhft.chronicle.bytes.BytesStore;
|
||||
import net.openhft.chronicle.bytes.PointerBytesStore;
|
||||
import net.openhft.chronicle.core.Jvm;
|
||||
import net.openhft.chronicle.core.io.AbstractReferenceCounted;
|
||||
import net.openhft.chronicle.core.io.IOTools;
|
||||
import net.openhft.chronicle.hash.ChronicleHashClosedException;
|
||||
import net.openhft.chronicle.hash.ChronicleHashCorruption;
|
||||
import net.openhft.chronicle.hash.Data;
|
||||
@@ -419,7 +419,7 @@ public class VanillaChronicleMap<K, V, R>
|
||||
|
||||
ChainingInterface newQueryContext() {
|
||||
CompiledMapQueryContext<Object, Object, Object> context = new CompiledMapQueryContext<>(this);
|
||||
AbstractReferenceCounted.unmonitor(context.segmentBytes);
|
||||
IOTools.unmonitor(context.segmentBytes);
|
||||
return context;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user