gecko-dev/memory/build
Mike Hommey 7ee99ec56b Bug 1403824 - Keep track of arenas in the arena tree. r=njn
Bug 1402174 made all arenas registered in a Red-Black tree. Which means
they are iterable through that tree, making the arenas list now redundant.
The list is also inconvenient, since it needs to be constantly
reallocated, and the allocator in charge of the list doesn't know how to
free things.

Iteration of arenas is not on any hot path anyways, so even though
iterating the RB tree is slower, it doesn't matter.

So we remove the arenas list, and keep a direct pointer to the main
arena for convenience (instead of calling First() on the RB tree every
time)

--HG--
extra : rebase_source : 31f12b2de18a886eb4f8f078e11040aad3fdc800
2017-09-28 08:06:23 +09:00
..
fallback.cpp Bug 1402647 - Add a memalign implementation on platforms that don't have one. r=njn 2017-09-26 06:59:03 +09:00
Makefile.in Bug 1398965 - Fold memory/mozjemalloc into memory/build. r=njn 2017-09-12 13:14:35 +09:00
malloc_decls.h Bug 1052573 - Add an API for allocation in separate arenas. r=njn 2017-09-22 07:22:38 +09:00
moz.build Bug 1052573 - Add an API for allocation in separate arenas. r=njn 2017-09-22 07:22:38 +09:00
mozjemalloc_types.h Bug 1052573 - Add an API for allocation in separate arenas. r=njn 2017-09-22 07:22:38 +09:00
mozjemalloc.cpp Bug 1403824 - Keep track of arenas in the arena tree. r=njn 2017-09-28 08:06:23 +09:00
mozjemalloc.h Bug 1052573 - Add an API for allocation in separate arenas. r=njn 2017-09-22 07:22:38 +09:00
mozmemory_wrap.cpp Bug 1400096 - Don't define the operator new/delete functions as mangled in mozmem_wrap.cpp. r=njn 2017-09-15 10:28:33 +09:00
mozmemory_wrap.h Bug 1052573 - Add an API for allocation in separate arenas. r=njn 2017-09-22 07:22:38 +09:00
mozmemory.h Bug 1052573 - Add an API for allocation in separate arenas. r=njn 2017-09-22 07:22:38 +09:00
rb.h Bug 1403444 - Rename the RedBlackTree member variables. r=njn 2017-09-27 16:11:11 +09:00
replace_malloc_bridge.h Bug 1401875 - Replace MALLOC_DECL_VOID with a clever use of templates. r=njn 2017-09-21 15:27:12 +09:00
replace_malloc.h Bug 1368932 - Handle missing replace_posix_memalign at the replace-malloc level. r=njn 2017-05-31 13:47:17 +09:00
zone.c Backed out changeset 0e349b74bfc6 (bug 1399921) for failure to thrive on Mac 2017-09-14 20:36:41 -07:00