Add --with-jemalloc-prefix, which supports API mangling.

Rename jemalloc_options-->malloc_options and jemalloc_message-->malloc_message.
This commit is contained in:
Jason Evans
2009-12-29 00:09:15 -08:00
parent bca042dfeb
commit 90895cf859
7 changed files with 171 additions and 119 deletions

View File

@@ -26,6 +26,11 @@ any of the following arguments (not a definitive list) to 'configure':
Embed one or more library paths, so that Crux's internal shared library can
find the libraries it is linked to. This works only on ELF-based systems.
--with-jemalloc-prefix=<prefix>
Prefix all public APIs with <prefix>, so that, for example, malloc()
becomes <prefix>malloc(). This makes it possible to use jemalloc at the
same time as the system allocator.
--enable-debug
Enable assertions and validation code. This incurs a substantial
performance hit, but is very useful during application development.