Closed Bug 1252374 Opened 4 years ago Closed 4 years ago

Increase the chunk size of the displayListArena

Categories

(Core :: Layout, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: njn, Assigned: njn)

Details

Attachments

(1 file)

displayListArena uses 1 KiB chunks. If I increase it to 4 KiB the number of
malloc/free calls goes down by almost 4x. This may also help with heap
fragmentation, because page-sized blocks are easier for jemalloc to handle than
sub-page-sized blocks.
https://hg.mozilla.org/mozilla-central/rev/74a8cd912dcd
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.