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

Holger Freyther zecke at selfish.org
Fri Mar 26 05:52:49 PDT 2010


On Friday 26 March 2010 13:36:07 İsmail Dönmez wrote:

> > 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::Prior
> ity 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++


Okay, you are either on an older version of WebKit, or I'm, or you have local 
modifications? Could you verify or falsify the following:

1.) You have eight jobs pending
2.) The timer fires and servePendingRequests is called
3.) From within servePendingRequests we restart the zero time timer?

if that is true, a backtrace would be nice and antti might be able to help 
you..


More information about the webkit-qt mailing list