[webkit-dev] Blocking UI (linux/gtk)

zaheer ahmad zaheer.mot at gmail.com
Mon Sep 29 05:38:31 PDT 2008


hi,
Iam analyzing the UI response issues on the webkit linux/gtk port on arm
embedded platform. One observation is that the  webcore timer driven
callbacks (e.g. layout, network, tokenizer etc) can block for unbounded
time. The other is that TimerBase::fireTimers fires all pending timers at
once which could mean the UI can be blocked furthur if there are multiple
timer events pending. This looks like an issue on platforms that run
GUI/webcore logic in same threads like gtk.

one of the suggested ways to improve this is to peridodically allow the ui
to run in these callbacks (though that may cause some reentrancy issues).

e.g. TimerBase::fireTimers(..) {for each iteration{ fireTimer;
g_main_context_iteration(..);}}

Appreciate any inputs.

thanks,
Zaheer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20080929/38af2cb3/attachment.html 


More information about the webkit-dev mailing list