mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
fixed https://github.com/OpenHFT/Chronicle-Map/issues/166 removed pos+1
This commit is contained in:
@@ -148,7 +148,7 @@ public abstract class MapEntryStages<K, V> extends HashEntryStages<K>
|
||||
relocation(newValue, newEntrySize);
|
||||
return;
|
||||
} else if (newSizeInChunks < entrySizeInChunks) {
|
||||
s.freeExtra(pos + 1, entrySizeInChunks, newSizeInChunks);
|
||||
s.freeExtra(pos, entrySizeInChunks, newSizeInChunks);
|
||||
}
|
||||
// new size != old size => size is not constant => size is actually written =>
|
||||
// to prevent (at least) this execution:
|
||||
|
||||
Reference in New Issue
Block a user