Devtools memory uses compartments as bounds for census operations instead of realms
Categories
(DevTools :: Memory, defect, P3)
Tracking
(Not tracked)
People
(Reporter: jimb, Assigned: jimb)
References
Details
Attachments
(1 file, 1 obsolete file)
49.27 KB,
patch
|
Details | Diff | Splinter Review |
In the once-and-future multiple-globals-per-compartment world, a compartment may contain a mix of debuggee and non-debuggee realms. Census operations, whether implemented by Debugger.Memory.prototype.takeCensus or ChromeUtils.saveHeapSnapshot, should consider only those nodes that fall in debuggee realms (if the nodes in question belong to any realm at all).
Attached is a patch that changes the census functions to hew more closely to the set of debugggees. It needs to be broken up for review and earn a clean try push, but the overall approach, I think, is okay. Feedback welcome!
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Rebased to Mozilla Central 395a65d512e3 (Mon 2019-4-8).
Comment hidden (off-topic) |
Comment 3•2 years ago
|
||
Pretty sure Jim is still around, but also pretty sure the patch won't be finished soon. Reducing the priority then.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Sorry, there was a problem with the detection of inactive users. I'm reverting the change.
Updated•2 years ago
|
Description
•