MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ~InitPool

Method ~InitPool

src/jrd/cch.cpp:5515–5535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5513 { }
5514
5515 ~InitPool()
5516 {
5517 // m_pool will be deleted by InitCDS dtor after cds termination
5518 // some memory could still be not freed until that moment
5519
5520#ifdef DEBUG_CDS_MEMORY
5521 char str[256];
5522 sprintf(str, "CCH list's common pool stats:\n"
5523 " usage = %llu\n"
5524 " mapping = %llu\n"
5525 " max usage = %llu\n"
5526 " max mapping = %llu\n"
5527 "\n",
5528 m_stats.getCurrentUsage(),
5529 m_stats.getCurrentMapping(),
5530 m_stats.getMaximumUsage(),
5531 m_stats.getMaximumMapping()
5532 );
5533 gds__log(str);
5534#endif
5535 }
5536
5537 void* alloc(size_t size)
5538 {

Callers

nothing calls this directly

Calls 4

getCurrentUsageMethod · 0.80
getCurrentMappingMethod · 0.80
getMaximumUsageMethod · 0.80
getMaximumMappingMethod · 0.80

Tested by

no test coverage detected