Improved logic of segment size choice, added some rationalizing comments. Fixed MarkTest

This commit is contained in:
leventov
2015-01-19 07:08:55 +07:00
parent 4c269c3167
commit cad8b833ce
3 changed files with 72 additions and 19 deletions
@@ -72,7 +72,7 @@ public class MarkTest {
try (ChronicleMap<Integer, Integer> map = createMap.apply(ChronicleMapBuilder
.of(Integer.class, Integer.class)
.entries(ENTRIES)
.entriesPerSegment((1 << 17) / 3)
.entriesPerSegment((1 << 15) / 3)
.putReturnsNull(true)
.removeReturnsNull(true))) {