Closed Bug 678126 Opened 9 years ago Closed 9 years ago

Add "tjit-data/trace-monitor" memory reporter

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla8

People

(Reporter: njn, Assigned: njn)

References

(Blocks 1 open bug)

Details

(Whiteboard: [MemShrink])

Attachments

(1 file)

Attached patch patchSplinter Review
DMD tells me that some things under TraceMonitor are taking a reasonable amount of space.  This patch adds a "tjit-data/trace-monitor" reporter for the notable ones.

The size per compartment of this reporter is often around 170KB.  An example:

│  │  ├─────362,216 B (00.81%) -- tjit-data
│  │  │     ├──172,224 B (00.39%) -- trace-monitor
│  │  │     ├──148,000 B (00.33%) -- allocators-reserve
│  │  │     └───41,992 B (00.09%) -- allocators-main

So it's not hard for it to get above 1MB when multiple tabs are open.  That's not a huge amount, but we gotta keep chipping away at that dark matter.
Attachment #552300 - Flags: review?(dmandelin)
Attachment #552300 - Flags: review?(dmandelin) → review+
http://hg.mozilla.org/mozilla-central/rev/e366da1a4f47
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: in-testsuite?
OS: Linux → All
Hardware: x86_64 → All
Resolution: --- → FIXED
Whiteboard: [MemShrink][inbound] → [MemShrink]
Target Milestone: --- → mozilla8
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.