[Webkit-unassigned] [Bug 10773] Memory usage grows when reloading google.com/ig

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 20 01:38:01 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=10773


sanjay12 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12567|                            |review?
               Flag|                            |
  Attachment #12554|0                           |1
        is obsolete|                            |




------- Comment #24 from sanjay12 at gmail.com  2007-01-20 01:37 PDT -------
Created an attachment (id=12567)
 --> (http://bugs.webkit.org/attachment.cgi?id=12567&action=view)
clean way to fix it

Ok, after talking to othermaciej some more in IRC, I finally understood how
JSDocument::mark would only be called if the Document is actually still in use.
So this patch implements a custom mark for JSDocument which marks itself, and
then marks all the DOM wrappers associated with its Document.

I've tested the attached patch it on many JS-intensive websites and it does not
appear to break anything. Additionally, I ran the 


-- 
Configure bugmail: http://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