From: Julian Seward Date: Tue, 18 Oct 2005 02:20:18 +0000 (+0000) Subject: Add a new arena (VG_AR_TTAUX) for holding auxiliary TT/TC structures X-Git-Tag: svn/VALGRIND_3_1_0~291 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6048f9c85415b694dd46d90a1b03a74011a8f501;p=thirdparty%2Fvalgrind.git Add a new arena (VG_AR_TTAUX) for holding auxiliary TT/TC structures (see next commit). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4941 --- diff --git a/coregrind/m_mallocfree.c b/coregrind/m_mallocfree.c index 7511392252..4de274de67 100644 --- a/coregrind/m_mallocfree.c +++ b/coregrind/m_mallocfree.c @@ -479,6 +479,7 @@ void ensure_mm_init ( ArenaId aid ) arena_init ( VG_AR_DEMANGLE, "demangle", 4, 65536 ); arena_init ( VG_AR_EXECTXT, "exectxt", 4, 262144 ); arena_init ( VG_AR_ERRORS, "errors", 4, 65536 ); + arena_init ( VG_AR_TTAUX, "ttaux", 4, 65536 ); nonclient_inited = True; } diff --git a/coregrind/pub_core_mallocfree.h b/coregrind/pub_core_mallocfree.h index d79dabc910..8248a66121 100644 --- a/coregrind/pub_core_mallocfree.h +++ b/coregrind/pub_core_mallocfree.h @@ -48,12 +48,14 @@ DEMANGLE for the C++ demangler. EXECTXT for storing ExeContexts. ERRORS for storing CoreErrors. + TTAUX for storing TT/TC auxiliary structures (address range + equivalence classes). When adding a new arena, remember also to add it to ensure_mm_init(). */ typedef Int ArenaId; -#define VG_N_ARENAS 7 +#define VG_N_ARENAS 8 #define VG_AR_CORE 0 #define VG_AR_TOOL 1 @@ -62,6 +64,7 @@ typedef Int ArenaId; #define VG_AR_DEMANGLE 4 #define VG_AR_EXECTXT 5 #define VG_AR_ERRORS 6 +#define VG_AR_TTAUX 7 // This is both the minimum payload size of a malloc'd block, and its // minimum alignment. Must be a power of 2 greater than 4, and should be