From 3a9ec676267cf215ed2591a1060f870daced2472 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Wed, 11 May 2016 00:52:16 -0700 Subject: Disable junk filling for tests that could otherwise easily OOM. --- test/integration/mallocx.c | 4 ++++ test/integration/xallocx.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/test/integration/mallocx.c b/test/integration/mallocx.c index 578c229..55e1a09 100644 --- a/test/integration/mallocx.c +++ b/test/integration/mallocx.c @@ -1,5 +1,9 @@ #include "test/jemalloc_test.h" +#ifdef JEMALLOC_FILL +const char *malloc_conf = "junk:false"; +#endif + static unsigned get_nsizes_impl(const char *cmd) { diff --git a/test/integration/xallocx.c b/test/integration/xallocx.c index 5c4998b..ad292bb 100644 --- a/test/integration/xallocx.c +++ b/test/integration/xallocx.c @@ -1,5 +1,9 @@ #include "test/jemalloc_test.h" +#ifdef JEMALLOC_FILL +const char *malloc_conf = "junk:false"; +#endif + /* * Use a separate arena for xallocx() extension/contraction tests so that * internal allocation e.g. by heap profiling can't interpose allocations where -- cgit v0.12