summaryrefslogtreecommitdiffstats
path: root/src/jemalloc_cpp.cpp
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-06-15 23:53:22 (GMT)
committerQi Wang <interwq@gmail.com>2017-06-16 00:55:53 (GMT)
commit9b1befabbb7a7105501d27843873d14e1c2de54b (patch)
treedf765e619c0a342cab8c2e9bbc1edc4d4fda1667 /src/jemalloc_cpp.cpp
parentae93fb08e21284f025871e9f5daccf3d0329b99b (diff)
downloadjemalloc-9b1befabbb7a7105501d27843873d14e1c2de54b.zip
jemalloc-9b1befabbb7a7105501d27843873d14e1c2de54b.tar.gz
jemalloc-9b1befabbb7a7105501d27843873d14e1c2de54b.tar.bz2
Add minimal initialized TSD.
We use the minimal_initilized tsd (which requires no cleanup) for free() specifically, if tsd hasn't been initialized yet. Any other activity will transit the state from minimal to normal. This is to workaround the case where a thread has no malloc calls in its lifetime until during thread termination, free() happens after tls destructors.
Diffstat (limited to 'src/jemalloc_cpp.cpp')
0 files changed, 0 insertions, 0 deletions