MCPcopy Create free account
hub / github.com/bytedance/bolt / freeNonContiguous

Method freeNonContiguous

bolt/common/memory/MemoryPool.cpp:761–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

759 BOLT_CHECK(allocation.empty());
760 release(freedBytes);
761}
762
763MachinePageCount MemoryPoolImpl::largestSizeClass() const {
764 return allocator_->largestSizeClass();
765}
766
767const std::vector<MachinePageCount>& MemoryPoolImpl::sizeClasses() const {
768 return allocator_->sizeClasses();
769}
770

Callers 15

~AllocationMethod · 0.45
clearMethod · 0.45
~BlockMethod · 0.45
TEST_PFunction · 0.45
~MemoryPoolTesterMethod · 0.45
runMethod · 0.45
TESTFunction · 0.45
freeMethod · 0.45
clearAllocationsMethod · 0.45
shrinkAllocationsMethod · 0.45
TEST_PFunction · 0.45
TEST_FFunction · 0.45

Calls 1

emptyMethod · 0.45

Tested by 12

~BlockMethod · 0.36
TEST_PFunction · 0.36
~MemoryPoolTesterMethod · 0.36
runMethod · 0.36
TESTFunction · 0.36
freeMethod · 0.36
clearAllocationsMethod · 0.36
shrinkAllocationsMethod · 0.36
TEST_PFunction · 0.36
TEST_FFunction · 0.36
clearAllocationsMethod · 0.36