| 653 | } |
| 654 | |
| 655 | Status mimalloc_memory_pool(MemoryPool** out) { |
| 656 | #ifdef ARROW_MIMALLOC |
| 657 | *out = global_state.mimalloc_memory_pool(); |
| 658 | return Status::OK(); |
| 659 | #else |
| 660 | return Status::NotImplemented("This Arrow build does not enable mimalloc"); |
| 661 | #endif |
| 662 | } |
| 663 | |
| 664 | MemoryPool* default_memory_pool() { |
| 665 | auto backend = DefaultBackend(); |