From cbeacb7c46f3a3650e5dbefa9a1a18bc9943a8cc Mon Sep 17 00:00:00 2001 From: jasone Date: Tue, 17 Apr 2012 07:22:14 +0000 Subject: Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch, prior to 3.0.0 release) as contrib/jemalloc, and integrate it into libc. The code being imported by this commit diverged from lib/libc/stdlib/malloc.c in March 2010, which means that a portion of the jemalloc 1.0.0 ChangeLog entries are relevant, as are the entries for all subsequent releases. --- contrib/jemalloc/src/atomic.c | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 contrib/jemalloc/src/atomic.c (limited to 'contrib/jemalloc/src/atomic.c') diff --git a/contrib/jemalloc/src/atomic.c b/contrib/jemalloc/src/atomic.c new file mode 100644 index 0000000..77ee313 --- /dev/null +++ b/contrib/jemalloc/src/atomic.c @@ -0,0 +1,2 @@ +#define JEMALLOC_ATOMIC_C_ +#include "jemalloc/internal/jemalloc_internal.h" -- cgit v1.1