| 599 | bool is_finalizing() const { return finalizing_.load(std::memory_order_relaxed); } |
| 600 | |
| 601 | MemoryPool* system_memory_pool() { |
| 602 | if (IsDebugEnabled()) { |
| 603 | return &system_debug_pool_; |
| 604 | } else { |
| 605 | return &system_pool_; |
| 606 | } |
| 607 | } |
| 608 | |
| 609 | #ifdef ARROW_JEMALLOC |
| 610 | MemoryPool* jemalloc_memory_pool() { |