MCPcopy Create free account
hub / github.com/apache/arrow / ReleaseUnused

Method ReleaseUnused

cpp/src/arrow/memory_pool_jemalloc.cc:130–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void JemallocAllocator::ReleaseUnused() {
131 mallctl("arena." ARROW_STRINGIFY(MALLCTL_ARENAS_ALL) ".purge", NULL, NULL, NULL, 0);
132}
133
134void JemallocAllocator::PrintStats() {
135 malloc_stats_print(nullptr, nullptr, /*opts=*/"");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected