[webkit-qt] Excessive timer usage results in 100% CPU usage

İsmail Dönmez ismail at namtrac.org
Fri Mar 26 05:36:07 PDT 2010


On Fri, Mar 26, 2010 at 2:30 PM, Holger Freyther <zecke at selfish.org> wrote:

> On Friday 26 March 2010 13:23:12 you wrote:
>
> >
> > It stays at 8 for a looooooong time , is it possible to limit the number
> of
> > simultaneous connections ?
>
> Yes, it does somewhere in WebCore/platform/network/qt/ResourceHandleQt.cpp
>
> ah this debug message only prints of how many jobs are active right now...
> but
> everytime you see the COUNT: message one request has finished.
>
> Can you check who and how often someone is calling:
> Loader::scheduleServePendingRequests?
>
>
Loader::scheduleServePendingRequests seems to be called all the time, the
backtrace is the same for all:


 qtwebkit4.dll!WebCore::Loader::servePendingRequests(WebCore::Loader::Priority
minimumPriority = 0) Line: 166, Byte Offsets: 0x10   C++
    qtwebkit4.dll!WebCore::Timer<WebCore::Loader>::fired(void) Line: 98,
Byte Offsets: 0x14 C++
    qtwebkit4.dll!WebCore::ThreadTimers::sharedTimerFiredInternal(void)
Line: 115, Byte Offsets: 0x114  C++
    qtwebkit4.dll!WebCore::SharedTimerQt::timerEvent(QTimerEvent* ev =
0x00000000) Line: 106, Byte Offsets: 0x3c  C++
    qtcore4.dll!QObject::event(QEvent* e = 0x00000000) Line: 1276, Byte
Offsets: 0x33c  C++


thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100326/50b18cb0/attachment.html>


More information about the webkit-qt mailing list