gecko-dev/memory
Mike Hommey bf7a9e79f6 Bug 1379139 - Instead of not recycling huge chunks, zero them. r=njn
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
2017-07-10 06:41:17 +09:00
..
build Backed out changeset 261d61f4eeec (bug 1356701) for causing bug 1378339. 2017-07-05 12:58:39 -04:00
fallible
gtest Bug 1313485 - Convert XPCOM test TestJemalloc to a gtest. r=njn 2016-11-09 10:24:22 -08:00
mozalloc Bug 1375467 - Redefining abort() in C++ requires extern "C". r=glandium 2017-06-22 05:09:05 -07:00
mozjemalloc Bug 1379139 - Instead of not recycling huge chunks, zero them. r=njn 2017-07-10 06:41:17 +09:00
replace Bug 1378592 - Remove MOZ_REPLACE_MALLOC_LINKAGE. r=froydnj 2017-07-06 10:26:04 +09:00
volatile
moz.build Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00