From ba47a6e79e641cb561e568af6c1b80e2c5ae5a97 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Mon, 13 Oct 2014 11:55:31 +0200 Subject: [PATCH] [mmalloc] Expand the junkarea In some cases (Fortran + Clang compilation) this is needed. We nee to fix this more cleanly. --- src/xbt/mmalloc/mm_legacy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xbt/mmalloc/mm_legacy.c b/src/xbt/mmalloc/mm_legacy.c index ecf09bbbc2..20a609a3e0 100644 --- a/src/xbt/mmalloc/mm_legacy.c +++ b/src/xbt/mmalloc/mm_legacy.c @@ -57,7 +57,7 @@ static void mm_gnuld_legacy_init(void) { /* This function is called from mmalloc */ static int allocated_junk = 0; /* keep track of many blocks of our little area was already given to someone */ #define JUNK_SIZE 8 -#define MAX_JUNK_AREAS (32 * 1024 / JUNK_SIZE) +#define MAX_JUNK_AREAS (64 * 1024 / JUNK_SIZE) static char junkareas[MAX_JUNK_AREAS][JUNK_SIZE]; /* This version use mmalloc if there is a current heap, or the legacy implem if not */ -- 2.20.1