pitrou commented on a change in pull request #9105:
URL: https://github.com/apache/arrow/pull/9105#discussion_r554926014



##########
File path: cpp/src/arrow/memory_pool.cc
##########
@@ -404,14 +499,25 @@ Status mimalloc_memory_pool(MemoryPool** out) {
 #endif
 }
 
+static std::unique_ptr<MemoryPool> default_pool = MemoryPool::CreateDefault();

Review comment:
       Hmm, nice catch. No, it should point to one of the existing 
`system_pool` etc. (so that `default_pool` doesn't differ from e.g.  
`jemalloc_pool` when jemalloc is enabled)




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to