Update to jemalloc 2.2.5

This commit is contained in:
jbergstroem
2011-11-23 21:36:25 +01:00
parent 3c95e7212e
commit 1d03c1c98a
24 changed files with 537 additions and 204 deletions

View File

@ -1151,11 +1151,13 @@ thread_arena_ctl(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp,
/* Set new arena association. */
ARENA_SET(arena);
#ifdef JEMALLOC_TCACHE
{
tcache_t *tcache = TCACHE_GET();
if (tcache != NULL)
tcache->arena = arena;
}
#endif
}
ret = 0;