[Webkit-unassigned] [Bug 23865] Safari can be frozen by rapidly adding timers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 20 18:01:08 PDT 2009


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


Dmitry Titov <dimich at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #27585|0                           |1
        is obsolete|                            |
  Attachment #35247|                            |review?
               Flag|                            |
         AssignedTo|webkit-unassigned at lists.web |dimich at chromium.org
                   |kit.org                     |




--- Comment #10 from Dmitry Titov <dimich at chromium.org>  2009-08-20 18:01:05 PDT ---
Created an attachment (id=35247)
 --> (https://bugs.webkit.org/attachment.cgi?id=35247)
Fix UI freezing by a long timer queue.

The patch addresses the case when UI gets  frozen because there are too many
timers in the queue and the CPU can not process all of them quickly enough and 
starves the user input.
This may be more pronounced on platforms like cellphones. The patch also
simplifies the code a little - instead of taking all the ready timers out of
the heap and then processing the copy, it takes them one by one.

The recursive multiplication of timers that eventually causes out-of-memory
condition should be addressed, if feasible, in a separate patch - since it
likely involves some sort of limit on resources. If we need to split this bug,
I can do that.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list