[Zion] Free memory that was allocated with the slab allocator.
This reduces the number of active allocs by ~ 200. Size 8: 142 -> 2 Size 16: 319 > 313 Size 32: 364-> 312
This commit is contained in:
parent
6d27ee5dc5
commit
659f122c9e
6 changed files with 50 additions and 15 deletions
|
|
@ -48,3 +48,5 @@ class SlabAllocator {
|
|||
uint64_t elem_size_;
|
||||
glcr::IntrusiveList<Slab> slabs_;
|
||||
};
|
||||
|
||||
void SlabFree(void* addr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue