mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
cde3e9b853
jemalloc_stats, as well as pre/post-fork hooks are using the `arenas` list along the `narenas` count to iterate over all arenas setup by mozjemalloc. Up until previous commit, that was used for automatic multiple arenas support, which is now removed. But mozjemalloc still supports running with multiple arenas, in the form of opted-in, per-thread arenas. After bug 1361258, those arenas weren't tracked, and now that `arenas` only contains the default arena, we can now fill it with those thread-local arenas. Keeping the automatic multiple arenas support, which we don't use and don't really plan to, would have meant using a separate list for them. --HG-- extra : rebase_source : f4eb55a65df8cdebff84ca709738f906d0c3c6f5 |
||
---|---|---|
.. | ||
build | ||
fallible | ||
gtest | ||
mozalloc | ||
mozjemalloc | ||
replace | ||
volatile | ||
moz.build |