Make RemoteDecoder work with background taskqueue
Categories
(Core :: Audio/Video: Playback, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: jya, Assigned: jya)
References
Details
Attachments
(1 file)
Split from bug 1634846.
Current the RemoteDecoderParent/Child create a manager thread ; this was required as MessageChannel only worked with single thread or MessageLoop.
Once bug 1634846 is fixed; it's no longer required and we can use a background taskqueue reducing the number of threads use at any given time
Assignee | ||
Comment 1•4 years ago
|
||
There's a small race that can happen when the remote decoder gets shutdown during xpcom shutdown; that would cause GetCurrentSerialEventTarget to return null. Leading to an assertion failure in ActorLifecycleProxy thread-safety check when PRemoteDecoderManagerParent gets destroyed.
So we use a background taskqueue instead and cleanup a bit the threading code in there allowed thanks to the TaskQueue ability to not require an explicit shutdown.
Pushed by jyavenard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fda262d73a13 Make RemoteDecoder use a background taskqueue. r=mattwoodrow
Comment 3•4 years ago
|
||
Backed out for webgl-conf crashes
Backout link: https://hg.mozilla.org/integration/autoland/rev/ed44d4e62140475b5daba4e7db38808dfea95960
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=307988602&repo=autoland&lineNumber=3484
Assignee | ||
Updated•4 years ago
|
Pushed by jyavenard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c634db4960d3 Make RemoteDecoder use a background taskqueue. r=mattwoodrow,andi
Comment 5•4 years ago
|
||
bugherder |
Description
•