Closed Bug 1252374 Opened 8 years ago Closed 8 years ago

Increase the chunk size of the displayListArena

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

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: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: