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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 3 19:01:50 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=180330

--- Comment #1 from Michael Gratton <mike at vee.net> ---
FWIW, a stack from one of the threads in libjavascriptcoregtk-4.0.so calling g_source_iter looks like this:

> #0  0x00007fffefd64901 in __GI___poll (fds=0x7fff84002e90, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
> #1  0x00007ffff751d169 in g_main_context_poll (priority=<optimised out>, n_fds=1, fds=0x7fff84002e90, timeout=<optimised out>, context=0x7fff84000b10)
    at ../../../../glib/gmain.c:4187
> #2  0x00007ffff751d169 in g_main_context_iterate (context=0x7fff84000b10, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimised out>) at ../../../../glib/gmain.c:3881
> #3  0x00007ffff751d502 in g_main_loop_run (loop=0x7fff84001d10) at ../../../../glib/gmain.c:4082
> #4  0x00007ffff1b5e6b0 in WTF::RunLoop::run() () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
> #5  0x00007ffff1b5d6c2 in  () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
> #6  0x00007ffff1b3645b in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
> #7  0x00007ffff1b5c779 in  () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
> #8  0x00007fffeeb157fc in start_thread (arg=0x7fffd6fff700) at pthread_create.c:465
> #9  0x00007fffefd70b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

There's six threads that are at the moment that are showing this same trace, after some time of normal application use. All six seem to be running different GMainLoop instances however, based on the loop=xxx param of frame #3 being different in each case.

-- 
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/997f1064/attachment.html>


More information about the webkit-unassigned mailing list