Increase some sizes to deal better with the new multigigabyte world:
- on 64-bit platforms, double the size of the supported address
space to 32G.
- Increase the size of the ExeContext table 6 times. Some very
large apps have been observed to have been doing a lot of
searching in the old 4999 entry table. This table may be
OSetified in the fullness of time.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4808 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_execontext.c b/coregrind/m_execontext.c
index c4b6f6e..dcaa097 100644
--- a/coregrind/m_execontext.c
+++ b/coregrind/m_execontext.c
@@ -55,7 +55,7 @@
/* Number of lists in which we keep track of ExeContexts. Should be
prime. */
-#define N_EC_LISTS 4999 /* a prime number */
+#define N_EC_LISTS 30011 /*4999*/ /* a prime number */
/* The idea is only to ever store any one context once, so as to save
space and make exact comparisons faster. */