Open Bug 1760254 Opened 3 years ago Updated 3 years ago

Use MADV_FREE_REUSABLE on MacOS (jemalloc)

Categories

(Core :: Memory Allocator, enhancement, P1)

All
macOS
enhancement

Tracking

()

ASSIGNED

People

(Reporter: pbone, Assigned: pbone)

References

Details

Attachments

(2 files)

MacOS counts MADV_FREE pages as part of a process's memory in activity monitor, even if they're not currently used and could be reclaimed. To avoid this MacOS also provides MADV_FREE_REUSEABLE which will cause them to not be counted (but otherwise behave the same).

We previously made this change for the JS GC in Bug 1567366.

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

Attachment

General

Created:
Updated:
Size: