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

Function jemalloc_memory_pool

cpp/src/arrow/memory_pool.cc:651–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

649MemoryPool* system_memory_pool() { return global_state.system_memory_pool(); }
650
651Status jemalloc_memory_pool(MemoryPool** out) {
652#ifdef ARROW_JEMALLOC
653 *out = global_state.jemalloc_memory_pool();
654 return Status::OK();
655#else
656 return Status::NotImplemented("This Arrow build does not enable jemalloc");
657#endif
658}
659
660Status mimalloc_memory_pool(MemoryPool** out) {
661#ifdef ARROW_MIMALLOC

Callers 3

GetAllocatorMethod · 0.85
memory_poolMethod · 0.85
TESTFunction · 0.85

Calls 3

jemalloc_memory_poolMethod · 0.80
OKFunction · 0.70
NotImplementedFunction · 0.70

Tested by 2

memory_poolMethod · 0.68
TESTFunction · 0.68