Disable junk filling for tests that could otherwise easily OOM.
This commit is contained in:
parent
c1e00ef2a6
commit
3a9ec67626
@ -1,5 +1,9 @@
|
|||||||
#include "test/jemalloc_test.h"
|
#include "test/jemalloc_test.h"
|
||||||
|
|
||||||
|
#ifdef JEMALLOC_FILL
|
||||||
|
const char *malloc_conf = "junk:false";
|
||||||
|
#endif
|
||||||
|
|
||||||
static unsigned
|
static unsigned
|
||||||
get_nsizes_impl(const char *cmd)
|
get_nsizes_impl(const char *cmd)
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#include "test/jemalloc_test.h"
|
#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
|
* Use a separate arena for xallocx() extension/contraction tests so that
|
||||||
* internal allocation e.g. by heap profiling can't interpose allocations where
|
* internal allocation e.g. by heap profiling can't interpose allocations where
|
||||||
|
Loading…
Reference in New Issue
Block a user