diff options
author | raczman <none@none> | 2010-04-20 10:58:41 +0200 |
---|---|---|
committer | raczman <none@none> | 2010-04-20 10:58:41 +0200 |
commit | 1532a2f9a2b227e0011a81959403a3b0b05153ba (patch) | |
tree | 293e9bea38c5caee2fcef1c8cc1fcf38b505ece9 /dep/src/jmalloc/mb.c | |
parent | b34e2bdb1c988450d9737d7565f9d357edff4dc7 (diff) |
Use jemalloc as memory allocator on linux.
In comparison to standard glibc allocator,
jemalloc fargments adress space less,
and scales linearly in multithreaded environment.
Author: Jason Evans, mad props to him.
--HG--
branch : trunk
Diffstat (limited to 'dep/src/jmalloc/mb.c')
-rw-r--r-- | dep/src/jmalloc/mb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dep/src/jmalloc/mb.c b/dep/src/jmalloc/mb.c new file mode 100644 index 00000000000..30a1a2e997a --- /dev/null +++ b/dep/src/jmalloc/mb.c @@ -0,0 +1,2 @@ +#define MB_C_ +#include "jemalloc/internal/jemalloc_internal.h" |