]> git.ipfire.org Git - thirdparty/valgrind.git/commit
The drastic increase in the number of per-arena freelists in r6771
authorJulian Seward <jseward@acm.org>
Thu, 23 Aug 2007 10:22:44 +0000 (10:22 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 23 Aug 2007 10:22:44 +0000 (10:22 +0000)
commit3773a4d6c21aa8c081f58e557eeeeede013bfa3f
treec5763b7898d38fc1e1cd8e83dddc61ef0b58caad
parent7315effc534991636c5483abd8df8c71f332e292
The drastic increase in the number of per-arena freelists in r6771
exposes a performance problem with doing m_mallocfree.c sanity checks
(at --sanity-level=3, at least), caused by slowness in
listNo_to_pszB_min.  This commit fixes the problem by caching the
results of queries to listNo_to_pszB_min.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6775
coregrind/m_mallocfree.c