summaryrefslogtreecommitdiffstats
path: root/src/jemalloc_cpp.cpp
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-01-30 23:54:16 (GMT)
committerJason Evans <jasone@canonware.com>2017-02-27 23:25:38 (GMT)
commit7b53fe928ee857d9401ea1a4fb77285b6fa91e7a (patch)
treec396c53db8e72bc0ffca2220536a601b49785502 /src/jemalloc_cpp.cpp
parent7c124830a1f542b5b8d386aa33fab5aa320eb975 (diff)
downloadjemalloc-7b53fe928ee857d9401ea1a4fb77285b6fa91e7a.zip
jemalloc-7b53fe928ee857d9401ea1a4fb77285b6fa91e7a.tar.gz
jemalloc-7b53fe928ee857d9401ea1a4fb77285b6fa91e7a.tar.bz2
Handle race in stats_arena_bins_print
When multiple threads calling stats_print, race could happen as we read the counters in separate mallctl calls; and the removed assertion could fail when other operations happened in between the mallctl calls. For simplicity, output "race" in the utilization field in this case. This resolves #616.
Diffstat (limited to 'src/jemalloc_cpp.cpp')
0 files changed, 0 insertions, 0 deletions