diff options
author | Qi Wang <interwq@gwu.edu> | 2017-03-28 04:50:38 (GMT) |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2017-04-07 16:55:14 (GMT) |
commit | fde3e20cc04db459f3c76134bc6dfb0ee5c422bb (patch) | |
tree | c5dd961498e734f52f02c40159ce0d8a52bb0af6 /test/stress | |
parent | eeabdd246693fbf7c54e03ff8957889e63dc9a0c (diff) | |
download | jemalloc-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