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

Method releaseExtent

src/common/classes/alloc.cpp:2589–2599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2587
2588
2589void MemPool::releaseExtent(bool destroying, void* block, size_t size, MemPool* pool) noexcept
2590{
2591 if (size < DEFAULT_ALLOCATION)
2592 releaseMemory(block, true);
2593 else
2594 {
2595 if (pool)
2596 pool->decrement_mapping(size);
2597 releaseRaw(true, block, size, (pool ? pool->extentsCache : nullptr));
2598 }
2599}
2600
2601
2602void MemPool::releaseRaw(bool destroying, void* block, size_t size, ExtentsCache* extentsCache) noexcept

Callers

nothing calls this directly

Calls 1

decrement_mappingMethod · 0.45

Tested by

no test coverage detected