Open Bug 1554503 Opened 3 years ago Updated 8 months ago

Recycle display items when building display list for modified frames


(Core :: Web Painting, enhancement, P2)





(Reporter: miko, Unassigned)


(Blocks 1 open bug)


Currently the display items for modified frames are destroyed, and the freed memory is returned to the arena allocator. In many cases, the next display list build will ask for that same memory chunk back, and rebuild the same kind of item.

We could instead implement some kind of recycling mechanism, and reuse the display items after changing the modified fields. Besides reducing the amount of memory allocations, this would also reduce the cost of managing display item - frame relationship (bug 1526970).

See Also: → 1697979
You need to log in before you can comment on or make changes to this bug.