important bugfix
This commit is contained in:
parent
d149836612
commit
64bed475fe
@ -4,7 +4,9 @@
|
||||
|
||||
LocalPool::LocalPool(object_id_t setObjectId, const LocalPoolConfig poolConfig,
|
||||
bool registered, bool spillsToHigherPools):
|
||||
SystemObject(setObjectId), NUMBER_OF_POOLS(poolConfig.size()) {
|
||||
SystemObject(setObjectId, registered),
|
||||
NUMBER_OF_POOLS(poolConfig.size()),
|
||||
spillsToHigherPools(spillsToHigherPools) {
|
||||
uint16_t index = 0;
|
||||
for (const auto& currentPoolConfig: poolConfig) {
|
||||
this->elementSizes[index] = currentPoolConfig.first;
|
||||
@ -16,8 +18,6 @@ LocalPool::LocalPool(object_id_t setObjectId, const LocalPoolConfig poolConfig,
|
||||
for(auto& size: sizeLists[index]) {
|
||||
size = STORAGE_FREE;
|
||||
}
|
||||
// std::memset(sizeLists[index], 0xff,
|
||||
// numberOfElements[index] * sizeof(size_type));
|
||||
index++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user