Rather than passing four strings to malloc_message(), malloc_write4(), and all the functions that use them, only pass one string.
jemalloc is a general-purpose scalable concurrent malloc(3) implementation. The INSTALL file contains information on how to configure, build, and install jemalloc.