mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
7ee99ec56b
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 |
||
---|---|---|
.. | ||
build | ||
fallible | ||
gtest | ||
mozalloc | ||
replace | ||
volatile | ||
moz.build |