Closed
Bug 1089837
Opened 11 years ago
Closed 10 years ago
Make IPC::Message use MOZ_COUNT_CTOR/DTOR
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
FIXED
mozilla44
| Tracking | Status | |
|---|---|---|
| firefox44 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
(Whiteboard: [MemShrink:P2])
Attachments
(2 files)
|
2.73 KB,
patch
|
Details | Diff | Splinter Review | |
|
2.74 KB,
patch
|
jld
:
review+
|
Details | Diff | Splinter Review |
I'm not sure how we usually deal with adding this kind of thing to the imported Chromium IPC code, but it seems unfortunate that we only detect leaks like bug 1036562 in LSan builds. In that bug, we're leaking subclasses of IPC::Message, which seems to chain up to Pickle.
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → continuation
| Assignee | ||
Comment 1•11 years ago
|
||
Well, we don't even run debug bc1 yet, so that would prevent us from detecting bug 1036562 in debug builds. I'm not sure if any of the other entrained leaking stuff has leak detection stuff hooked up or not.
| Assignee | ||
Comment 2•11 years ago
|
||
Bill suggested that IPC::Message would be a better place for this.
The good news/bad news is that this reveals that we're leaking in a few tests:
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=901f33029f4b
It is possible that bug 1089833 will fix some or all of this, as I had that commented out for this run.
Summary: Make Pickle use MOZ_COUNT_CTOR/DTOR → Make IPC::Message use MOZ_COUNT_CTOR/DTOR
Updated•11 years ago
|
Whiteboard: [MemShrink] → [MemShrink:P2]
| Assignee | ||
Comment 3•10 years ago
|
||
I implemented this. There are a few leaks on Try. I'll have to investigate to see if these are real leaks or another bug in my patch.
try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=91d5c292a94b
| Assignee | ||
Comment 4•10 years ago
|
||
Another simple patch. This one found a leak.
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=8a074577f1a6
Attachment #8678486 -
Flags: review?(jld)
Updated•10 years ago
|
Attachment #8678486 -
Flags: review?(jld) → review+
Comment 6•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•