[Webkit-unassigned] [Bug 24074] WebKit used 80% CPU on idle
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 22 12:52:01 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24074
------- Comment #15 from dimich at chromium.org 2009-02-22 12:52 PDT -------
I think the busy loop you have experienced was related to a Java applet on
jira.skype.net
Here is my theory (if I read the tea leaves of samples right): WebKit is trying
to deliver some data via NetscapePluginStream to a plugin - but plugin does not
take any bytes (not ready) and WebKit schedules an async timer event with
timeout 0 to try again. This just repeats a lot, causing sort of a "busy wait"
via a timer with 0 delay. I guess sometimes a plugin needs the main thread's
run loop to run in order to process things and be able to receive more data -
but in this case roundtrip via run loop does not help. See
WebBaseNetscapePluginStream.mm, method deliverData.
In this case, the plugin seems to be a Java VM. It also seems like
jira.skype.net was using java plugin before the busy loop.
I can not access this page to try to confirm this theory though.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list