From e75d16b813975223227a1073995be6bc26e3da8e Mon Sep 17 00:00:00 2001 From: click Date: Sat, 18 Dec 2010 16:14:08 +0100 Subject: [PATCH] Core/Dependencies: Adjust jemalloc library caching methods - this will fix the startup-crash on linux-based systems. Note: This is a temporary measure untill we've figured out why this occurs, further testing will be done. --HG-- branch : trunk --- dep/jemalloc/include/jemalloc/jemalloc_defs.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dep/jemalloc/include/jemalloc/jemalloc_defs.h b/dep/jemalloc/include/jemalloc/jemalloc_defs.h index 715e02efdff..a641b56da03 100644 --- a/dep/jemalloc/include/jemalloc/jemalloc_defs.h +++ b/dep/jemalloc/include/jemalloc/jemalloc_defs.h @@ -58,35 +58,35 @@ * JEMALLOC_TINY enables support for tiny objects, which are smaller than one * quantum. */ -#define JEMALLOC_TINY +/* #undef JEMALLOC_TINY */ /* * JEMALLOC_TCACHE enables a thread-specific caching layer for small objects. * This makes it possible to allocate/deallocate objects without any locking * when the cache is in the steady state. */ -#define JEMALLOC_TCACHE +/* #undef JEMALLOC_TCACHE */ /* * JEMALLOC_DSS enables use of sbrk(2) to allocate chunks from the data storage * segment (DSS). */ -#define JEMALLOC_DSS +/* #undef JEMALLOC_DSS */ /* JEMALLOC_SWAP enables mmap()ed swap file support. */ -#define JEMALLOC_SWAP +/* #undef JEMALLOC_SWAP */ /* Support memory filling (junk/zero). */ -#define JEMALLOC_FILL +/* #undef JEMALLOC_FILL */ /* Support optional abort() on OOM. */ -#define JEMALLOC_XMALLOC +/* #undef JEMALLOC_XMALLOC */ /* Support SYSV semantics. */ -#define JEMALLOC_SYSV +/* #undef JEMALLOC_SYSV */ /* Support lazy locking (avoid locking unless a second thread is launched). */ -#define JEMALLOC_LAZY_LOCK +/* #undef JEMALLOC_LAZY_LOCK */ /* Determine page size at run time if defined. */ /* #undef DYNAMIC_PAGE_SHIFT */