summaryrefslogtreecommitdiffstats
path: root/test/aligned_alloc.exp
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2011-08-31 06:40:11 (GMT)
committerJason Evans <je@fb.com>2011-08-31 06:40:11 (GMT)
commita9076c9483a8efcb216b9f1303bf310f80ee3401 (patch)
tree1f34c25bbf96f18d574fee8e840360c018c13f57 /test/aligned_alloc.exp
parent46405e670f9b4831da9c24c15f0f3a537ef2606b (diff)
downloadjemalloc-a9076c9483a8efcb216b9f1303bf310f80ee3401.zip
jemalloc-a9076c9483a8efcb216b9f1303bf310f80ee3401.tar.gz
jemalloc-a9076c9483a8efcb216b9f1303bf310f80ee3401.tar.bz2
Fix a prof-related race condition.
Fix prof_lookup() to artificially raise curobjs for all paths through the code that creates a new entry in the per thread bt2cnt hash table. This fixes a race condition that could corrupt memory if prof_accum were false, and a non-default lg_prof_tcmax were used and/or threads were destroyed.
Diffstat (limited to 'test/aligned_alloc.exp')
0 files changed, 0 insertions, 0 deletions