summaryrefslogtreecommitdiffstats
path: root/src/jemalloc_cpp.cpp
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-02-23 04:58:42 (GMT)
committerJason Evans <jasone@canonware.com>2017-02-23 18:08:42 (GMT)
commit08c24e7c1a034fc43353f47450f395a7272ccf02 (patch)
tree08fa5e31d2c76e05cdf4dd2a96317bb2ac8a91b4 /src/jemalloc_cpp.cpp
parentf56cb9a68e9cc95d23af0809ab4cf3e288c7e448 (diff)
downloadjemalloc-08c24e7c1a034fc43353f47450f395a7272ccf02.zip
jemalloc-08c24e7c1a034fc43353f47450f395a7272ccf02.tar.gz
jemalloc-08c24e7c1a034fc43353f47450f395a7272ccf02.tar.bz2
Relax witness assertions related to prof_gdump().
In some cases the prof machinery allocates (in order to modify the bt2gctx hash table), and such operations are synchronized via bt2gctx_mtx. Rather than asserting that no locks are held on entry into functions that may call prof_gdump(), make the weaker assertion that no "core" locks are held. The prof machinery enqueues dumps triggered by prof_gdump() calls when bt2gctx_mtx is held, so this weakened assertion avoids false failures in such cases.
Diffstat (limited to 'src/jemalloc_cpp.cpp')
0 files changed, 0 insertions, 0 deletions