commit | 1d2e2e6aadac3046743e22ff1dc7665796f6dafb | [log] [tgz] |
---|---|---|
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Thu Aug 23 10:22:44 2007 +0000 |
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Thu Aug 23 10:22:44 2007 +0000 |
tree | c5763b7898d38fc1e1cd8e83dddc61ef0b58caad | |
parent | d35bf74f2344808078c932eba9311b838a4a739d [diff] |
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 a5019735-40e9-0310-863c-91ae7b9d1cf9