mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Specify query operations
This commit is contained in:
@@ -684,6 +684,8 @@ public abstract class SegmentStages implements SegmentLock, LocksInterface {
|
||||
if (fromPos + newChunks < hh.h().actualChunksPerSegmentTier &&
|
||||
freeList.isRangeClear(fromPos + oldChunks, fromPos + newChunks)) {
|
||||
freeList.setRange(fromPos + oldChunks, fromPos + newChunks);
|
||||
// checking and updating lowestPossiblyFreeChunk is omitted because adds computational
|
||||
// complexity for seemingly very small gain
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user