gecko-dev/memory
Mike Hommey cde3e9b853 Bug 1364358 - Keep track of mozjemalloc thread-local arenas. r=erahm
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
2017-05-12 21:21:11 +09:00
..
build Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
fallible Bug 1290645 - Remove VS2013 workarounds in memory/. r=glandium 2016-07-28 11:46:30 -07:00
gtest Bug 1313485 - Convert XPCOM test TestJemalloc to a gtest. r=njn 2016-11-09 10:24:22 -08:00
mozalloc Bug 1332747 Change MOZ_ALWAYS_INLINE to MOZ_ALWAYS_INLINE_EVEN_DEBUG to fix MinGW Debug build r=froydnj 2017-04-11 12:53:58 -05:00
mozjemalloc Bug 1364358 - Keep track of mozjemalloc thread-local arenas. r=erahm 2017-05-12 21:21:11 +09:00
replace Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
volatile Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
moz.build Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00