Open Bug 1898646 Opened 2 years ago Updated 2 years ago

Reduce the number of VirtualFree calls in mozjemalloc

Categories

(Core :: Memory Allocator, enhancement)

enhancement

Tracking

()

People

(Reporter: pbone, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [sp3])

We could reduce the number of decommit/VirtualFree calls in mozjemalloc if we decommit the largest blocks of memory first. To to this well we'd need to change how we represent dirty pages since currently they're unsorted.

This would have a similar impact to Bug 1857841 where we reduced the number of VirtualAlloc calls made in jemalloc.

Blocks: 1488780
Whiteboard: [sp3]
No longer blocks: 1488780
Blocks: 1488435
You need to log in before you can comment on or make changes to this bug.