HCOLL-124 fixed - Issue preventing the Replication in chronicle map from working

This commit is contained in:
Rob Austin
2014-08-07 17:12:55 +01:00
parent 217c5d7560
commit ae8cc2d8f9
2 changed files with 123 additions and 7 deletions
@@ -122,13 +122,8 @@ class VanillaSharedReplicatedHashMap<K, V> extends AbstractVanillaSharedHashMap<
this.eventListener = modificationDelegator;
}
/**
* this is used to iterate over all the modification iterators
*
* @return
*/
int assignedModIterBitSetSizeInBytes() {
return (int) align64((long) Math.ceil(127 + RESERVED_MOD_ITER / 8));
private int assignedModIterBitSetSizeInBytes() {
return (int) align64((127 + RESERVED_MOD_ITER) / 8);
}
@Override
@@ -392,7 +387,10 @@ class VanillaSharedReplicatedHashMap<K, V> extends AbstractVanillaSharedHashMap<
start += sizeOfMultiMap();
hashLookupLiveOnly = createMultiMap(start);
}
public IntIntMultiMap getHashLookup() {
return hashLookupLiveOnly;
}