mimalloc icon indicating copy to clipboard operation
mimalloc copied to clipboard

[feature request] add mallinfo()/mallinfo2() implementations

Open berolinux opened this issue 3 years ago • 1 comments

While these functions aren't officially part of the POSIX standard (yet), mallinfo() and mallinfo2() are present in most libc malloc implementations. It would be nice if mimalloc had a working implementation to make it work as a drop-in replacement for system malloc even in applications that rely on this. https://man7.org/linux/man-pages/man3/mallinfo.3.html

berolinux avatar Jul 04 '22 22:07 berolinux

mallinfo() and mallinfo2() are present in most libc malloc implementations.

Is that true? No modern BSD seems to have either of them.

Solaris, AIX and HP-UX have mallinfo but not mallinfo2.

jwakely avatar Nov 13 '24 17:11 jwakely