Open
Bug 2034417
Opened 6 months ago
Updated 6 months ago
Investigate doing some buffer allocator sweeping on the main thread rather than allocating a new chunk
Categories
(Core :: JavaScript: GC, enhancement, P5)
Core
JavaScript: GC
Tracking
()
NEW
People
(Reporter: jonco, Assigned: jonco)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
If we run out of allocated space for the buffer allocator while we're sweeping we could do some of that sweeping on the main thread, rather than allocating a new chunk from the OS. This could reduce the overall amount of memory usage.
| Assignee | ||
Comment 1•6 months ago
|
||
| Assignee | ||
Comment 2•6 months ago
|
||
I implemented this but it didn't show any improvement in memory use and hurt performance slightly in some benchmarks (crypto, pdfjs and typescript). While I feel this is a good idea I wasn't able to come up with a benchmark where we allocated more memory that necessary without this change so I'm parking it for now.
| Assignee | ||
Updated•6 months ago
|
Severity: -- → N/A
Priority: -- → P5
Updated•6 months ago
|
Blocks: GC.performance
You need to log in
before you can comment on or make changes to this bug.
Description
•