mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +01:00
Add an off-by-default allocator mode that tracks all live allocations with sizes and associated stack traces. We also track if each allocation is visited as part of a measuring heap usage in `about:memory`, allowing us to report on allocations that are not tracked yet. Right now the list of untracked allocations is dumped to stdout; I have a python script coming in a separate PR which makes it easier to perform analysis on the massive output. Testing: Manually tested with `./mach build -d --features servo_allocator/allocation-tracking` and visiting about:memory. Part of: #11559 --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net> |
||
---|---|---|
.. | ||
Cargo.toml | ||
lib.rs | ||
mem.rs | ||
system_reporter.rs | ||
time.rs | ||
trace-dump-epilogue-1.html | ||
trace-dump-epilogue-2.html | ||
trace-dump-prologue-1.html | ||
trace-dump-prologue-2.html | ||
trace-dump.css | ||
trace-dump.js | ||
trace_dump.rs |