зеркало из https://github.com/mozilla/gecko-dev.git
633a0d02d9
Things left for followups: - Full cleanup of disposed arenas: bug 1364359. - Random arena Ids: bug 1402282. - Enforcing the arena to match on moz_arena_{realloc,free}: bug 1402283. - Make it impossible to use arenas not created with moz_create_arena with moz_arena_* functions: bug 1402284. Until it's proven to require a different data structure, arena lookup by Id is done through the use of the same RB tree used everywhere else in the allocator. At this stage, the implementation of the API doesn't ride the trains, but the API can be used safely and will fall back to normal allocations transparently for the caller. --HG-- extra : rebase_source : aaa9bdab5b4e0c534da0c9c7a299028fc8d66dc8 |
||
---|---|---|
.. | ||
build | ||
fallible | ||
gtest | ||
mozalloc | ||
replace | ||
volatile | ||
moz.build |