Closed
Bug 830226
Opened 13 years ago
Closed 13 years ago
Reorder memory dumping for increased DMD effectiveness
Categories
(Core :: DMD, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
(Whiteboard: [MemShrink])
Attachments
(1 file)
|
2.47 KB,
patch
|
justin.lebar+bug
:
review+
|
Details | Diff | Splinter Review |
Currently when dumping memory reports and DMD output via a signal, we do the reports first and DMD second. But the memory reporting allocates some memory for the gzwriter, and that gets reported, but then its released before DMD runs, and so DMD doesn't see it.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #701679 -
Flags: review?(justin.lebar+bug)
| Assignee | ||
Comment 2•13 years ago
|
||
With this patch DMD sees the four 64 KiB allocations done by the nsGZFileWriter used for the memory reporter dump.
Comment 3•13 years ago
|
||
+ // Because that memory was measured by the memory reporters, we want
+ // DMD to see it as well. So we deliberately don't call Finish() until after
+ // DMD finishes.
This memory is not measured by the memory reporters, currently. I'm not sure what you mean.
r=me with this comment fixed.
Updated•13 years ago
|
Attachment #701679 -
Flags: review?(justin.lebar+bug) → review+
| Assignee | ||
Comment 4•13 years ago
|
||
> This memory is not measured by the memory reporters, currently. I'm not
> sure what you mean.
It is measured by "heap-allocated". I'll clarify it.
| Assignee | ||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•