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

Method initPool

bolt/core/QueryCtx.h:219–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217 }
218
219 void initPool(const std::string& queryId) {
220 if (pool_ == nullptr) {
221 pool_ = memory::memoryManager()->addRootPool(
222 QueryCtx::generatePoolName(queryId), memory::kMaxMemory);
223 }
224 }
225
226 // Setup the memory reclaimer for arbitration if user provided memory pool
227 // hasn't set it.

Callers

nothing calls this directly

Calls 2

memoryManagerFunction · 0.85
addRootPoolMethod · 0.80

Tested by

no test coverage detected