[Webkit-unassigned] [Bug 12900] Page tear-down forces garbage collection once per frame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 26 22:33:11 PST 2007


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





------- Comment #1 from ggaren at apple.com  2007-02-26 22:33 PDT -------
This is actually pretty tricky, and my first shot at it caused a performance
regression (even though it reduced the number of garbage collections). 

I think the key to the regression was the Frame keepAlive timer. Since frame
tear-down is delayed, there may be value to guaranteeing a collection right
after the Frame has torn down, rather than at page load time.

I'm not sure there's a way to implement this optimization without eliminating
the Frame keepAlive timer (and replacing it with a real RefPtr solution) or
merging individual Frame keepAlive callbacks into a single callback, and
collecting at the end of it.


-- 
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