MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / createPool

Method createPool

src/jrd/InitCDSLib.cpp:125–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123static InitInstance<Mutex> mutex; // guard InitCDS::m_pools
124
125MemoryPool* InitCDS::createPool()
126{
127 MemoryPool* pool = MemoryPool::createPool(nullptr, m_stats);
128 MemoryStats* newStats = FB_NEW_POOL(*pool) MemoryStats;
129 pool->setStatsGroup(*newStats);
130
131 MutexLockGuard guard(mutex(), FB_FUNCTION);
132 m_pools->push(pool);
133 return pool;
134}
135
136} // namespace Jrd

Callers 11

getPagesInternalMethod · 0.45
compileMethod · 0.45
transactRequestMethod · 0.45
createMethod · 0.45
validateFunction · 0.45
runMethod · 0.45
TRA_reconnectFunction · 0.45
TRA_startFunction · 0.45
CMP_compileFunction · 0.45
handlerMethod · 0.45
createMethod · 0.45

Calls 3

setStatsGroupMethod · 0.80
mutexClass · 0.50
pushMethod · 0.45

Tested by

no test coverage detected