simplify region cleanup

This commit is contained in:
Alexey Rybalchenko
2021-11-30 17:28:08 +01:00
committed by Dennis Klein
parent d630fbb1e4
commit eef42d2dea
2 changed files with 40 additions and 55 deletions

View File

@@ -387,8 +387,8 @@ class Manager
(rc->fCount)++;
LOG(debug) << "incremented region counter, now: " << rc->fCount;
} else {
LOG(debug) << "no region counter found, creating one and initializing with 1";
rc = fManagementSegment.construct<RegionCounter>(unique_instance)(1);
LOG(debug) << "no region counter found, creating one and initializing with 1024";
rc = fManagementSegment.construct<RegionCounter>(unique_instance)(1024);
LOG(debug) << "initialized region counter with: " << rc->fCount;
}