Open
Bug 1660737
Opened 5 years ago
Updated 8 months ago
Consider compacting malloc'd memory
Categories
(Core :: JavaScript: GC, task, P3)
Core
JavaScript: GC
Tracking
()
NEW
People
(Reporter: jandem, Unassigned)
References
(Blocks 2 open bugs)
Details
Certain malloc allocations (slots, elements, string characters with some work) could be moved by compacting GC to avoid fragmentation, if jemalloc offered an API for this. This could work better if movable allocations used their own jemalloc arena.
This is just an idea -- I don't know how big of a problem malloc fragmentation is for us in practice these days, especially with Fission.
Comment 1•5 years ago
|
||
Bug 1656155 will tell us about jemalloc fragmentation, but it won't tell us how much of this is for memory the JS engine is using.
Blocks: memshrink-content
See Also: → 1656155
You need to log in
before you can comment on or make changes to this bug.
Description
•