>   - We found out that MediaStreamGraphStableStateRunnable is #20 on this
>   list, which was surprising as this runnable is only supposed to be used for
>   WebRTC and WebAudio, neither being extremely popular features on the Web.
>   Randell Jesup found out that there is a bug
>   <https://bugzilla.mozilla.org/show_bug.cgi?id=1395012> causing the
>   runnable to be continually dispatched after a WebRTC or WebAudio session is
>   over.

This may have already been fixed; after updating and restarting I've
been unable to reproduce, and padenot indicates he fixed a shutdown bug
in MSG in the last week or so before I tested..  Also, further analysis
by billm showed that only 10% of sessions had MSGStableStateRunnables,
but in those 10% it was the most frequent runnable.  This may be
as-expected, since when in use the runnables are used to update
MainThread media state 50-100 times per second.

We hope to at some point move (most of) these runnables to atomics for
updating MainThread, and we'll look to see if we can throttle the
events/s from MediaStreamGraph.

Note that monitoring entries in about:telemetry can be handy for
tracking down issues.

-- 
Randell Jesup, Mozilla Corp
remove "news" for personal email
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to