Open Bug 1961749 Opened 11 months ago Updated 11 months ago

Consider freeing large buffers after other buffer sweeping or on a separate background task

Categories

(Core :: JavaScript: GC, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: jonco, Unassigned)

References

(Blocks 1 open bug)

Details

Freeing large buffers can be slow so it might be worth splitting sweeping into two phases so that all zones get their medium buffers swept and made available for allocation before any large buffers are freed. Or the latter could happen in parallel in a separate background task.

This is speculative and unlikely to be worth it unless we find examples where this is a problem in actual use.

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