Closed Bug 826553 Opened 7 years ago Closed 7 years ago

Add a memory reporter for the event listener manager's hash table.

Categories

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

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: njn, Assigned: njn)

References

(Blocks 1 open bug)

Details

(Whiteboard: [MemShrink])

Attachments

(1 file)

DMD tells me that the event listener manager's hash table can get reasonably
big -- e.g. 384 KiB for me after 8 hours of regular browsing, and 1.5 MiB after
running MemBench.
This patch adds a reporter for it.  I'm not sure if "explicit/dom/" is the
best path for it;  other suggestions are welcome.
Attachment #697737 - Flags: review?(bzbarsky)
Blocks: DarkMatter
Whiteboard: [MemShrink]
Comment on attachment 697737 [details] [diff] [review]
Add a memory reporter for the event listener manager's hash table.

r=me
Attachment #697737 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/d7b111082de9
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.