Closed
Bug 1047756
Opened 10 years ago
Closed 6 years ago
HwcComposer2d is leaked
Categories
(Core Graveyard :: Widget: Gonk, defect)
Core Graveyard
Widget: Gonk
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: khuey, Unassigned)
References
Details
(Keywords: memory-leak, Whiteboard: [MemShrink:P2])
It is stored in a StaticRefPtr that is never cleared, so we leak. The obvious thing to do is ClearOnShutdown the pointer but that it appears we create HwcComposer2d off the main thread so that is not an option. Do we need the StaticRefPtr? Can we rely on something else holding the strong reference?
Updated•10 years ago
|
Whiteboard: [MemShrink]
Comment 1•10 years ago
|
||
HwcComposer2d seems to be used from LayerManagerComposite and GLContextEGL. GLContextEGL holds strong pointer but LayerManagerComposite just hold the strong pointer only during its usage.
http://dxr.mozilla.org/mozilla-central/source/gfx/gl/GLContextProviderEGL.cpp#236
http://dxr.mozilla.org/mozilla-central/source/gfx/layers/composite/LayerManagerComposite.cpp#425
Comment 2•10 years ago
|
||
From comment 1, How to access HwComposer2d seems inconsistent between LayerManagerComposite and GLContextEGL.
Updated•10 years ago
|
Whiteboard: [MemShrink] → [MemShrink:P2]
Comment 3•6 years ago
|
||
Closing as we are not working on Firefox OS anymore.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•