Closed
Bug 1307972
Opened 8 years ago
Closed 8 years ago
Fix parent process leaks when using the GPU process
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: dvander, Assigned: dvander)
References
Details
Attachments
(1 file)
3.24 KB,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
When I enable the GPU process on treeherder, many columns are orange due to a UI process leak. It looks like we NS_DispatchToMainThread after xpcom-shutdown which leaks a runnable. This patch fixes the leak by shutting down the Vsync I/O thread on xpcom shutdown, rather than when the GPUProcessManager singleton is destroyed. I also added a bunch of missing MOZ_COUNT_CTORs.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8798199 -
Flags: review?(wmccloskey)
Comment on attachment 8798199 [details] [diff] [review] fix Review of attachment 8798199 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/ipc/VsyncBridgeChild.cpp @@ +14,5 @@ > : mThread(aThread), > mLoop(nullptr), > mProcessToken(aProcessToken) > { > + MOZ_COUNT_CTOR(VsyncBridgeChild); Don't need this. PVsyncBridgeChild already does it. @@ +19,5 @@ > } > > VsyncBridgeChild::~VsyncBridgeChild() > { > + MOZ_COUNT_DTOR(VsyncBridgeChild); Same.
Attachment #8798199 -
Flags: review?(wmccloskey) → review+
Pushed by danderson@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/01fd505d5cc2 Fix parent process leaks when using the GPU process. (bug 1307972, r=billm)
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/01fd505d5cc2
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•