aboutsummaryrefslogtreecommitdiffstats
path: root/src/malloc_io.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-03-03 20:44:39 -0800
committerJason Evans <jasone@canonware.com>2017-03-04 08:18:31 -0800
commit04d8fcb74563a305bdaa8d3ee3ba6ba49d09dfb8 (patch)
tree7930db80699503cfc88cb1e89e136c55e33a07c9 /src/malloc_io.c
parentd4ac7582f32f506d5203bea2f0115076202add38 (diff)
downloadplatform_external_jemalloc_new-04d8fcb74563a305bdaa8d3ee3ba6ba49d09dfb8.tar.gz
platform_external_jemalloc_new-04d8fcb74563a305bdaa8d3ee3ba6ba49d09dfb8.tar.bz2
platform_external_jemalloc_new-04d8fcb74563a305bdaa8d3ee3ba6ba49d09dfb8.zip
Optimize malloc_large_stats_t maintenance.
Convert the nrequests field to be partially derived, and the curlextents to be fully derived, in order to reduce the number of stats updates needed during common operations. This change affects ndalloc stats during arena reset, because it is no longer possible to cancel out ndalloc effects (curlextents would become negative).
Diffstat (limited to 'src/malloc_io.c')
0 files changed, 0 insertions, 0 deletions