Open Bug 2093240 Opened 10 days ago Updated 10 days ago

[meta] Revise how unused memory is managed in mozjemalloc

Categories

(Core :: Memory Allocator, enhancement)

enhancement

Tracking

()

People

(Reporter: pbone, Unassigned)

References

(Depends on 4 open bugs)

Details

(Keywords: meta)

Revise and unify the ways that unused memory is managed in mozjemalloc.

Each mozjemalloc arena has a list of spare chunks, this should not grow unbounded, they are released as part of purging.
Within both spare and in-use chunks mozjemalloc also manages dirty pages. which also should not grow unbounded, they are purged priodically.

There are a number ways this can be improved. Planning is occuring here: https://docs.google.com/document/d/1l4fu3kfonQ1M_aagzMXfIl7GPL_vLExyAS-YQ8jnS5I/edit?tab=t.0 and bugs will be filed as dependencies of this bug.

Depends on: 2093241
Depends on: 2093249
You need to log in before you can comment on or make changes to this bug.