Add a memory reporter for the nsScriptNameSpaceManager

RESOLVED FIXED in Firefox 18

Status

()

defect
RESOLVED FIXED
7 years ago
4 months ago

People

(Reporter: njn, Assigned: njn)

Tracking

unspecified
mozilla19
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox18 fixed, firefox19 fixed)

Details

(Whiteboard: [MemShrink])

Attachments

(1 attachment)

This is one of the bigger single chunks remaining, and it shows up in every
process on B2G.
Pretty straightforward.  On 64-bit builds it's 153 KiB per process, and
probably a bit less on 32-bit.
Attachment #677608 - Flags: review?(jst)
Whiteboard: [MemShrink]
> Pretty straightforward.  On 64-bit builds it's 153 KiB per process, and
> probably a bit less on 32-bit.

For the main process that is ~0.5% of the heap, for child processes it's ~1%.
Attachment #677608 - Flags: review?(jst) → review+
Comment on attachment 677608 [details] [diff] [review]
Add a memory reporter for the nsScriptNameSpaceManager.

[Approval Request Comment]

Bug caused by (feature/regressing bug #):  N/A.

User impact if declined:  less understanding of B2G memory consumption.

Testing completed (on m-c, etc.):  just landed on m-c.

Risk to taking this patch (and alternatives if risky):  minimal.  Code is only run when viewing about:memory or triggering a memory report dump.

String or UUID changes made by this patch:  none.
Attachment #677608 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/5a5775d8c498
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Attachment #677608 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Can someone please attach a testcase ?
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.