[webkit-reviews] review requested: [Bug 10773] Memory usage grows when reloading google.com/ig : [Attachment 12567] clean way to fix it

bugzilla-request-daemon at macosforge.org bugzilla-request-daemon at macosforge.org
Sat Jan 20 01:37:59 PST 2007


Sanjay Madhav (chmmravatar) <sanjay12 at gmail.com> has asked  for review:
Bug 10773: Memory usage grows when reloading google.com/ig
http://bugs.webkit.org/show_bug.cgi?id=10773

Attachment 12567: clean way to fix it
http://bugs.webkit.org/attachment.cgi?id=12567&action=edit

------- Additional Comments from Sanjay Madhav (chmmravatar)
<sanjay12 at gmail.com>
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



More information about the webkit-reviews mailing list