Le 11/06/2024 à 10:01, Sutou Kouhei a écrit :

2. Is it OK that we add support for system mimalloc?

Hmm... that sounds legitimate, but with the caveat that a system
mimalloc can override the standard malloc/free functions. Would that
affect an application using Arrow C++?

Are you saying the LD_PRELOAD approach not the
find_package(mimalloc) approach? If so, it affects an
application using Arrow C++. If we use
the find_package(mimalloc) approach, it doesn't affect an
application using Arrow C++.

I was thinking about find_package(). Good to know that it doesn't affect the application, but would it affect Arrow C++ then? There might be a problem if a pointer is allocated by Arrow C++ (using the mimalloc malloc()) and deallocated by the application (using the libc free()).

Regards

Antoine.

Reply via email to