Closed Bug 1202523 Opened 4 years ago Closed 4 years ago

Use the default chunk size with jemalloc 4

Categories

(Core :: Memory Allocator, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

Currently, we force the chunk size to 1MB, matching the chunk size of mozjemalloc, because at the time jemalloc 3 chunk size was 4MB and that didn't work out very well for overall memory usage.
But the current default in jemalloc 4 is 2MB and doesn't look like it makes things bad on memory usage. Try even suggests it might make things slightly better performance-wise.
Assignee: nobody → mh+mozilla
Attachment #8657976 - Flags: review?(n.nethercote)
Comment on attachment 8657976 [details] [diff] [review]
Use the default chunk size with jemalloc 4

Review of attachment 8657976 [details] [diff] [review]:
-----------------------------------------------------------------

I wonder about FxOS, but eh, ok.
Attachment #8657976 - Flags: review?(n.nethercote) → review+
https://hg.mozilla.org/mozilla-central/rev/4f59a368f15e
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.