Bug 56460 - Web Inspector [JSC]: Provide information about DOM subtrees in Heap profiles
Summary: Web Inspector [JSC]: Provide information about DOM subtrees in Heap profiles
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 50485
  Show dependency treegraph
 
Reported: 2011-03-16 05:37 PDT by Mikhail Naganov
Modified: 2014-03-10 16:22 PDT (History)
13 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Naganov 2011-03-16 05:37:22 PDT
When searching for memory leaks in JavaScript application, besides looking at VM memory usage, it's also worth looking at DOM subtrees (and other related objects like CSS, XHRs) from native heap that are being held from JS side. JS wrappers are usually small and doesn't attract much attention. But if it will be visible that a small JS wrapper holds a 1000-nodes tree, a developer will be able to see a problem here.

See https://bugs.webkit.org/show_bug.cgi?id=53659 for a sample implementation.