summaryrefslogtreecommitdiffstats
path: root/test/stress
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-03-28 04:50:38 (GMT)
committerQi Wang <interwq@gmail.com>2017-04-07 16:55:14 (GMT)
commitfde3e20cc04db459f3c76134bc6dfb0ee5c422bb (patch)
treec5dd961498e734f52f02c40159ce0d8a52bb0af6 /test/stress
parenteeabdd246693fbf7c54e03ff8957889e63dc9a0c (diff)
downloadjemalloc-fde3e20cc04db459f3c76134bc6dfb0ee5c422bb.zip
jemalloc-fde3e20cc04db459f3c76134bc6dfb0ee5c422bb.tar.gz
jemalloc-fde3e20cc04db459f3c76134bc6dfb0ee5c422bb.tar.bz2
Integrate auto tcache into TSD.
The embedded tcache is initialized upon tsd initialization. The avail arrays for the tbins will be allocated / deallocated accordingly during init / cleanup. With this change, the pointer to the auto tcache will always be available, as long as we have access to the TSD. tcache_available() (called in tcache_get()) is provided to check if we should use tcache.
Diffstat (limited to 'test/stress')
0 files changed, 0 insertions, 0 deletions