Is it safe to mix jemalloc with glibc malloc?
tfengjun at gmail.com
Tue Feb 28 00:34:13 PST 2012
I want to configure jemalloc to use mmap with disk backed file, and use
for system memory.
1. compile jemalloc with "je_" prefix and with "--enable-swap",
2. in my application:
void *big = je_malloc(10000);
void *small = malloc(10);
There are plenty of small objects which will be freed soon, so I want to
use the real
memory for these temp objects to improve performance. Is it safe to mix
je_malloc and malloc?
More information about the jemalloc-discuss