]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add a new arena (VG_AR_TTAUX) for holding auxiliary TT/TC structures
authorJulian Seward <jseward@acm.org>
Tue, 18 Oct 2005 02:20:18 +0000 (02:20 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 18 Oct 2005 02:20:18 +0000 (02:20 +0000)
(see next commit).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4941

coregrind/m_mallocfree.c
coregrind/pub_core_mallocfree.h

index 7511392252d7bba239dafa921ac6a889643e20b1..4de274de67ccab303e1c0048c7626f84ffd2d76b 100644 (file)
@@ -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;
    }
 
index d79dabc910204181726a44b98bf32259384c443e..8248a66121acce34ba20057a8878baef2c5ddffb 100644 (file)
       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