summaryrefslogtreecommitdiffstats
path: root/src/nstime.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-03-09 06:42:57 (GMT)
committerJason Evans <jasone@canonware.com>2017-03-15 20:13:47 (GMT)
commit64e458f5cdd64f9b67cb495f177ef96bf3ce4e0e (patch)
treed8b459159a8c1a9b73632945f6517e667d5b9c54 /src/nstime.c
parent38a5bfc8169b018b5b71cc72daad14c3b2f5b206 (diff)
downloadjemalloc-64e458f5cdd64f9b67cb495f177ef96bf3ce4e0e.zip
jemalloc-64e458f5cdd64f9b67cb495f177ef96bf3ce4e0e.tar.gz
jemalloc-64e458f5cdd64f9b67cb495f177ef96bf3ce4e0e.tar.bz2
Implement two-phase decay-based purging.
Split decay-based purging into two phases, the first of which uses lazy purging to convert dirty pages to "muzzy", and the second of which uses forced purging, decommit, or unmapping to convert pages to clean or destroy them altogether. Not all operating systems support lazy purging, yet the application may provide extent hooks that implement lazy purging, so care must be taken to dynamically omit the first phase when necessary. The mallctl interfaces change as follows: - opt.decay_time --> opt.{dirty,muzzy}_decay_time - arena.<i>.decay_time --> arena.<i>.{dirty,muzzy}_decay_time - arenas.decay_time --> arenas.{dirty,muzzy}_decay_time - stats.arenas.<i>.pdirty --> stats.arenas.<i>.p{dirty,muzzy} - stats.arenas.<i>.{npurge,nmadvise,purged} --> stats.arenas.<i>.{dirty,muzzy}_{npurge,nmadvise,purged} This resolves #521.
Diffstat (limited to 'src/nstime.c')
0 files changed, 0 insertions, 0 deletions