mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-244 fixed a bug in VanillaChornicleMap
This commit is contained in:
@@ -80,8 +80,8 @@ enum MultiMapFactory {
|
||||
throw new IllegalArgumentException("Capacity " + capacity + " not supported");
|
||||
}
|
||||
|
||||
public static long sizeOfBitSetInBytes(long minCapacity) {
|
||||
return BYTES.convert(LONGS.align(multiMapCapacity(minCapacity), BITS), BITS);
|
||||
public static long sizeOfBitSetInBytes(long actualChunksPerSegment) {
|
||||
return LONGS.align(BYTES.alignAndConvert(actualChunksPerSegment, BITS), BYTES);
|
||||
}
|
||||
|
||||
public static ATSDirectBitSet newPositions(long capacity) {
|
||||
|
||||
Reference in New Issue
Block a user