summaryrefslogtreecommitdiffstats
path: root/src/tcache.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-03-17 09:45:12 (GMT)
committerJason Evans <jasone@canonware.com>2017-03-23 01:33:32 (GMT)
commit51a2ec92a10691bf5cee78093a0aa9a1fced351d (patch)
treeee9bdd1c4ffe3060cc4da8276a7ac754dbbbde96 /src/tcache.c
parent4f341412e5e1370220382f04b1f7d9f70c694884 (diff)
downloadjemalloc-51a2ec92a10691bf5cee78093a0aa9a1fced351d.zip
jemalloc-51a2ec92a10691bf5cee78093a0aa9a1fced351d.tar.gz
jemalloc-51a2ec92a10691bf5cee78093a0aa9a1fced351d.tar.bz2
Remove extent dereferences from the deallocation fast paths.
Diffstat (limited to 'src/tcache.c')
-rw-r--r--src/tcache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tcache.c b/src/tcache.c
index 7ae8975..9c99c8b 100644
--- a/src/tcache.c
+++ b/src/tcache.c
@@ -389,8 +389,7 @@ tcache_destroy(tsd_t *tsd, tcache_t *tcache) {
prof_idump(tsd_tsdn(tsd));
}
- idalloctm(tsd_tsdn(tsd), iealloc(tsd_tsdn(tsd), tcache), tcache, NULL,
- true, true);
+ idalloctm(tsd_tsdn(tsd), tcache, NULL, true, true);
}
void