Mozilla 2/Memory: Difference between revisions

m
Improve formatting
(Add link to OOM API.)
m (Improve formatting)
Line 14: Line 14:
* Simplify the Mozilla codebase and avoid untested error paths by assuming that most allocations do not fail.
* Simplify the Mozilla codebase and avoid untested error paths by assuming that most allocations do not fail.
* add garbage collection support to jemalloc to support [[XPCOMGC]].
* add garbage collection support to jemalloc to support [[XPCOMGC]].
* Design and test fallback mechanisms at OOM or close-to-OOM for freeing caches, closing tabs, etc. [[Mozilla_2/Memory/OOM_API]]
* Design and test fallback mechanisms at OOM or close-to-OOM for freeing caches, closing tabs, etc. See [[Mozilla_2/Memory/OOM_API]] for the API design.


= Risks and Assumptions =
= Risks and Assumptions =
13

edits