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

Function mimalloc_memory_pool

cpp/src/arrow/memory_pool.cc:660–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658}
659
660Status mimalloc_memory_pool(MemoryPool** out) {
661#ifdef ARROW_MIMALLOC
662 *out = global_state.mimalloc_memory_pool();
663 return Status::OK();
664#else
665 return Status::NotImplemented("This Arrow build does not enable mimalloc");
666#endif
667}
668
669MemoryPool* default_memory_pool() {
670 auto backend = DefaultBackend();

Callers 3

GetAllocatorMethod · 0.85
memory_poolMethod · 0.85
TESTFunction · 0.85

Calls 3

mimalloc_memory_poolMethod · 0.80
OKFunction · 0.70
NotImplementedFunction · 0.70

Tested by 2

memory_poolMethod · 0.68
TESTFunction · 0.68