Closed Bug 677491 Opened 13 years ago Closed 13 years ago

Add a memory reporter for static atom tables

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mounir, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [MemShrink:P3])

Looks like bug 677466 but I think they are different.
The idea is to count the memory taken by stuff like nsGkAtoms, nsWidgetAtoms, nsHtml5Atoms, etc.
See: https://mxr.mozilla.org/mozilla-central/ident?i=NS_RegisterStaticAtoms&filter=
Whiteboard: [MemShrink]
Whiteboard: [MemShrink] → [MemShrink:P3]
In a DMD run where I opened gmail and techcrunch.com, allocations that involved NS_RegisterStaticAtoms accounted for roughly 70KB out of 118MB.  That's 0.06%,  which is too small to be worth bothering with.  If we get data later on (from DMD or elsewhere) that shows static atoms are important, we can reopen this bug.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.