|
From: <sv...@va...> - 2005-10-18 02:20:21
|
Author: sewardj
Date: 2005-10-18 03:20:18 +0100 (Tue, 18 Oct 2005)
New Revision: 4941
Log:
Add a new arena (VG_AR_TTAUX) for holding auxiliary TT/TC structures
(see next commit).
Modified:
trunk/coregrind/m_mallocfree.c
trunk/coregrind/pub_core_mallocfree.h
Modified: trunk/coregrind/m_mallocfree.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_mallocfree.c 2005-10-18 02:15:39 UTC (rev 4940)
+++ trunk/coregrind/m_mallocfree.c 2005-10-18 02:20:18 UTC (rev 4941)
@@ -479,6 +479,7 @@
arena_init ( VG_AR_DEMANGLE, "demangle", 4, 65=
536 );
arena_init ( VG_AR_EXECTXT, "exectxt", 4, 262=
144 );
arena_init ( VG_AR_ERRORS, "errors", 4, 65=
536 );
+ arena_init ( VG_AR_TTAUX, "ttaux", 4, 65=
536 );
nonclient_inited =3D True;
}
=20
Modified: trunk/coregrind/pub_core_mallocfree.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/pub_core_mallocfree.h 2005-10-18 02:15:39 UTC (rev 49=
40)
+++ trunk/coregrind/pub_core_mallocfree.h 2005-10-18 02:20:18 UTC (rev 49=
41)
@@ -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).
=20
When adding a new arena, remember also to add it to ensure_mm_init().=
=20
*/
typedef Int ArenaId;
=20
-#define VG_N_ARENAS 7
+#define VG_N_ARENAS 8
=20
#define VG_AR_CORE 0
#define VG_AR_TOOL 1
@@ -62,6 +64,7 @@
#define VG_AR_DEMANGLE 4
#define VG_AR_EXECTXT 5
#define VG_AR_ERRORS 6
+#define VG_AR_TTAUX 7
=20
// 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 b=
e
|