Add RefreshObserver markers with backtraces
Categories
(Core :: Layout, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(6 files)
(deleted),
text/x-phabricator-request
|
Details | |
Bug 1666617 - Move kFlushTypeNames into FlushType.h so that it can be used from other files. r=smaug
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details |
As proposed in bug 1661054:
When the refresh driver keeps firing, and it is doing so because it still has observers, it would be nice to get some information about the observers from a profile. We can provide that information in a RefreshObservers profiler marker.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Example profile: https://share.firefox.dev/3mJ8kDM
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D91078
Assignee | ||
Comment 5•4 years ago
|
||
Depends on D91059
Assignee | ||
Comment 6•4 years ago
|
||
Added refresh observer string descriptions: https://share.firefox.dev/3mLIPld
Assignee | ||
Comment 7•4 years ago
|
||
Oh, I just realized that there are many RefreshDriver observer kinds which do not go through AddRefreshObserver
, but do end up being respected by HasObservers()
. For example, mPendingFullscreenEvents
comes from ScheduleFullscreenEvent()
.
Assignee | ||
Comment 8•4 years ago
|
||
Depends on D91082
Assignee | ||
Comment 9•4 years ago
|
||
Depends on D91379
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/31c23ad979bf
https://hg.mozilla.org/mozilla-central/rev/d1c2e8215817
https://hg.mozilla.org/mozilla-central/rev/36006654190e
https://hg.mozilla.org/mozilla-central/rev/049367bd2e8a
https://hg.mozilla.org/mozilla-central/rev/549cb9b27480
https://hg.mozilla.org/mozilla-central/rev/e016eb0691ad
Description
•