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

Function initializeMemoryManager

bolt/common/memory/Memory.cpp:505–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503 return out;
504}
505
506std::vector<std::shared_ptr<MemoryPool>> MemoryManager::getAlivePools() const {
507 std::vector<std::shared_ptr<MemoryPool>> pools;
508 std::shared_lock guard{mutex_};
509 pools.reserve(pools_.size());
510 for (const auto& entry : pools_) {

Callers 8

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
TEST_FFunction · 0.85
initMethod · 0.85

Calls

no outgoing calls

Tested by 6

mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
TEST_FFunction · 0.68