Factor Alloc stage abstraction, make alloc which fails to allocate in the current tier search from the first tier in chain

This commit is contained in:
leventov
2015-10-06 18:59:45 +03:00
parent e774c9f826
commit b967ad14d4
13 changed files with 242 additions and 94 deletions
@@ -22,6 +22,7 @@ import net.openhft.chronicle.hash.impl.stage.hash.KeyBytesInterop;
import net.openhft.chronicle.hash.impl.stage.hash.LogHolder;
import net.openhft.chronicle.hash.impl.stage.hash.OwnerThreadHolder;
import net.openhft.chronicle.hash.impl.stage.hash.ThreadLocalCopiesHolder;
import net.openhft.chronicle.hash.impl.stage.iter.IterationAlloc;
import net.openhft.chronicle.hash.impl.stage.iter.IterationKeyHashCode;
import net.openhft.chronicle.hash.impl.stage.iter.IterationSegmentStages;
import net.openhft.chronicle.hash.impl.stage.query.KeySearch;
@@ -65,6 +66,8 @@ import net.openhft.sg.Staged;
ReplicationUpdate.class,
DefaultValue.class,
IterationAlloc.class,
}, nested = {
ReadLock.class,
UpdateLock.class,