WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
Bug 76045
Web Inspector: [Chromium] Heap profiler need to track active DOM objects
https://bugs.webkit.org/show_bug.cgi?id=76045
Summary
Web Inspector: [Chromium] Heap profiler need to track active DOM objects
Mikhail Naganov
Reported
2012-01-11 02:48:43 PST
Active DOM objects are objects that have an internal state (e.g. XMLHttpRequest) and depending on the state may resist to be garbage-collected, even in case when they are not referenced. This way, Js leaks can occur, if such an object holds other objects. See this report by Jochen Eisinger for details:
https://docs.google.com/a/google.com/document/d/1Pd7hcFAUs_sFmpGumEkBonELlyU6diJAO9VXE0u6l7o/edit
Attachments
Add attachment
proposed patch, testcase, etc.
jochen
Comment 1
2012-01-11 11:26:31 PST
I filed issue 75859 for the actual issue I found: an ActiveDOMObject overrides hasPendingActivity() and essentially always returns true. That integration with the V8 garbage collector marks such objects as referenced, but the reference is not visible to the developer from devtools (in that specific case, you can still detect the presence of the object from js, e.g. if you start a version change transaction it would block even though there's seemingly no database around that could block the transaction)
Timothy Hatcher
Comment 2
2013-04-05 13:01:08 PDT
Chromium and V8 have left the building. Won't fix.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug