mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
bf7a9e79f6
It turns out that not recycling some kinds of chunk can lead to the recycle queue being starved in some scenarios. When that happens, we end up mmap()ing new memory, but that turns out to be significantly slower. So instead of not recycling huge chunks, we force-clean them, before madvising so that the pages can still be reclaimed in case of memory pressure. --HG-- extra : rebase_source : 2dbd028daca92c9cd7c8079eb3dc5a0cfa06495b |
||
---|---|---|
.. | ||
build | ||
fallible | ||
gtest | ||
mozalloc | ||
mozjemalloc | ||
replace | ||
volatile | ||
moz.build |