| 604 | bool is_finalizing() const { return finalizing_.load(std::memory_order_relaxed); } |
| 605 | |
| 606 | MemoryPool* system_memory_pool() { |
| 607 | if (IsDebugEnabled()) { |
| 608 | return &system_debug_pool_; |
| 609 | } else { |
| 610 | return &system_pool_; |
| 611 | } |
| 612 | } |
| 613 | |
| 614 | #ifdef ARROW_JEMALLOC |
| 615 | MemoryPool* jemalloc_memory_pool() { |