summaryrefslogtreecommitdiffstats
path: root/contrib/jemalloc/src/tcache.c
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2012-11-10 01:46:13 +0000
committerjasone <jasone@FreeBSD.org>2012-11-10 01:46:13 +0000
commit85bcb5c4d44f8fbc63a4640845c509f1af63e2d0 (patch)
tree259ea73d4da6fff525da091d1c46c6809a58621f /contrib/jemalloc/src/tcache.c
parent078e4805d0a8dd714dd4d34c0e52c6ed816d4784 (diff)
downloadFreeBSD-src-85bcb5c4d44f8fbc63a4640845c509f1af63e2d0.zip
FreeBSD-src-85bcb5c4d44f8fbc63a4640845c509f1af63e2d0.tar.gz
Import jemalloc 3.2.0.
Diffstat (limited to 'contrib/jemalloc/src/tcache.c')
-rw-r--r--contrib/jemalloc/src/tcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/jemalloc/src/tcache.c b/contrib/jemalloc/src/tcache.c
index 60244c4..47e14f3 100644
--- a/contrib/jemalloc/src/tcache.c
+++ b/contrib/jemalloc/src/tcache.c
@@ -288,7 +288,7 @@ tcache_create(arena_t *arena)
else if (size <= tcache_maxclass)
tcache = (tcache_t *)arena_malloc_large(arena, size, true);
else
- tcache = (tcache_t *)icalloc(size);
+ tcache = (tcache_t *)icallocx(size, false, arena);
if (tcache == NULL)
return (NULL);
@@ -364,7 +364,7 @@ tcache_destroy(tcache_t *tcache)
arena_dalloc_large(arena, chunk, tcache);
} else
- idalloc(tcache);
+ idallocx(tcache, false);
}
void
OpenPOWER on IntegriCloud