libmtmalloc provides an alternative dynamic memory allocator for multi-threaded applications. The library provides the traditional API for heap management, malloc, calloc, realloc and free. Unlike libc malloc, libmtmalloc provides concurrent access to the heap-managed area, providing higher performance for a key system utility.
To use this library you must link your application -lmtmalloc. Note that -lmtmalloc must appear on the link line prior to linking with libc -lc.
For more information, see the man page 3t malloc.