Open Bug 1528469 Opened 6 years ago Updated 2 years ago

Devtools memory uses compartments as bounds for census operations instead of realms

Categories

(DevTools :: Memory, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: jimb, Assigned: jimb)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch proof-of-concept patch (obsolete) — 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!

Assignee: nobody → jimb
Priority: -- → P2

Rebased to Mozilla Central 395a65d512e3 (Mon 2019-4-8).

Attachment #9044408 - Attachment is obsolete: true

Pretty sure Jim is still around, but also pretty sure the patch won't be finished soon. Reducing the priority then.

Flags: needinfo?(felash)
Priority: P2 → P3

Sorry, there was a problem with the detection of inactive users. I'm reverting the change.

Assignee: nobody → jimb
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: