[Webkit-unassigned] [Bug 55794] Web Inspector: Need new graphic icon for garbage collect button

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 6 23:19:25 PST 2011


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





--- Comment #6 from Greg Simon <gregsimon at chromium.org>  2011-03-06 23:19:25 PST ---
The object counters are a useful tool -- the ones that I've found the most useful when diagnosing mem leaks in webkit are


- Node -- catches JS errors where DOM Nodes are increasingly created

- EventListener -- catches cases where JS code keeps adding event listeners to nodes. Also provides a starting point to analyze closures that may be keeping bits around via JS heap graph.

- Document -- ref counting bugs will eventually cause these to stick around. This one is useful to C++ devleopers but probably not JS folks since there should not be an ability for JS code to cause this to happen. However it still is useful and revealing to see how long these Document instances can stick around usually due to GC and JS/webcore binding behavior.

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