Remi Dettai created ARROW-9008:
----------------------------------

             Summary: jemalloc_set_decay_ms precedence
                 Key: ARROW-9008
                 URL: https://issues.apache.org/jira/browse/ARROW-9008
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Remi Dettai


I've noticed that the jemalloc const configuration [je_arrow_malloc_conf 
|https://github.com/apache/arrow/blob/d542482bdc6bea8a449f000bdd74de8990c20015/cpp/src/arrow/memory_pool.h#L169]
 overrides the arrow public function 
[jemalloc_set_decay_ms()|https://github.com/apache/arrow/blob/e4bf4297585e1d0723957833d012aaf5c119f6b0/cpp/src/arrow/memory_pool.cc#L69].
 

Is their a way to call jemalloc_set_decay_ms so that it has the right 
precedence ? 
-> if yes, I believe this should be specified in the comments
-> if no, the function should be deprecated



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to