Yet another attempt to init freeList bitSet with the right length

This commit is contained in:
leventov
2014-10-25 01:34:36 +04:00
parent 58997967d7
commit 7a86306e0b
2 changed files with 5 additions and 7 deletions
@@ -1131,12 +1131,11 @@ public class ChronicleMapTest {
}
private ChronicleMap<Integer, CharSequence> getViewTestMap(int noOfElements) throws IOException {
int entries = 100 * 1000;
ChronicleMap<Integer, CharSequence> map =
ChronicleMapBuilder.of(Integer.class, CharSequence.class)
.entries(entries)
.entries(noOfElements)
.minSegments(16)
.entrySize(32)
.valueSize((noOfElements + "").length())
.putReturnsNull(true)
.removeReturnsNull(true).create();