[Webkit-unassigned] [Bug 180330] [GTK] WK2/JSC idle wakeups and CPU utilisation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 4 07:24:17 PST 2017


Michael Catanzaro <mcatanzaro at igalia.com> changed:

           What    |Removed                     |Added
                 CC|                            |mcatanzaro at igalia.com

--- Comment #2 from Michael Catanzaro <mcatanzaro at igalia.com> ---
That just means there are sources attached to the main loop. The problem is that one (or more) of them is being dispatched too frequently (when poll returns). You're not likely to catch that with a random backtrace in gdb. I know of only two ways to debug an issue like this. First is to add some printfs in gmain.c to print the names of the sources that are being dispatched, and hope against hope that the problematic source has a name. A better way would be to try to configure systemtap and use dunfell [1], but that might be hard. At least we know the problem is in the UI process, not the web process. ;)

Carlos suggested on the mailing list that the problem might be the paint timer, so it would make sense to try and figure out if that's right first.

[1] https://github.com/pwithnall/dunfell

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171204/a407aea3/attachment-0001.html>

More information about the webkit-unassigned mailing list