[Webkit-unassigned] [Bug 6818] New: garbage collect a bit later when destroying Frame (fixes node leak false positives)
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Wed Jan 25 20:59:01 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=6818
Summary: garbage collect a bit later when destroying Frame (fixes
node leak false positives)
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.0
Status: NEW
Severity: normal
Priority: P2
Component: Frames
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: mjs at apple.com
Frame clears the properties of the window object and garbage collects every
time you change documents. This is good, because you don't want to leak custom
properties to the next document, and because much garbage will be created when
the properties are cleared.
However, it also does this on destruction. That's suboptimal, because the
window object itself (and everything it keeps alive) will become collectable
after the ScriptInterpreter is destroyed. So the clearing is a waste of time,
and the garbage collection would be better done later.
On top of all that, this causes false positives from the NodeImpl leak counter.
--
Configure bugmail: http://bugzilla.opendarwin.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