Non-replicated Chronicle Map now is not limited with x64 max oversize factor

This commit is contained in:
leventov
2014-12-19 16:09:49 +07:00
parent 2910915dc9
commit 0ff794d6a6
7 changed files with 99 additions and 24 deletions
@@ -177,7 +177,8 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
this.eventListener = builder.eventListener();
this.bytesEventListener = builder.bytesEventListener();
this.segmentHeaderSize = builder.segmentHeaderSize();
this.maxEntryOversizeFactor = builder.maxEntryOversizeFactor();
this.maxEntryOversizeFactor =
builder.maxEntryOversizeFactor(this instanceof ReplicatedChronicleMap);
hashSplitting = HashSplitting.Splitting.forSegments(actualSegments);
initTransients();