summaryrefslogtreecommitdiffstats
path: root/src/jemalloc_cpp.cpp
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2015-09-15 06:17:25 (GMT)
committerJason Evans <jasone@canonware.com>2015-09-15 06:55:48 (GMT)
commitcec0d63d8bc46205d38456024176a0ece590253e (patch)
tree8604c2c8a337bfb6764eeb63a290e9a6d8297ee5 /src/jemalloc_cpp.cpp
parentef363de7010b5e13f4e1c0d7b3a109362bda7aa7 (diff)
downloadjemalloc-cec0d63d8bc46205d38456024176a0ece590253e.zip
jemalloc-cec0d63d8bc46205d38456024176a0ece590253e.tar.gz
jemalloc-cec0d63d8bc46205d38456024176a0ece590253e.tar.bz2
Make one call to prof_active_get_unlocked() per allocation event.
Make one call to prof_active_get_unlocked() per allocation event, and use the result throughout the relevant functions that handle an allocation event. Also add a missing check in prof_realloc(). These fixes protect allocation events against concurrent prof_active changes.
Diffstat (limited to 'src/jemalloc_cpp.cpp')
0 files changed, 0 insertions, 0 deletions