RESOLVED FIXED57351
Web Inspector: [Chromium] Remove exact retained size request in detailed heap snapshots
https://bugs.webkit.org/show_bug.cgi?id=57351
Summary Web Inspector: [Chromium] Remove exact retained size request in detailed heap...
Mikhail Naganov
Reported 2011-03-29 09:33:38 PDT
We currently have two kinds of retained memory sizes for object: "approximate" obtained using dominator tree, and "exact" calculated by reachable objects marking. It turns out, that in most cases these sizes are the same. I've checked a heap snapshot of GMail and have found no object for which "approximate" and "exact" sizes differ. I haven't found any proof that those sizes are always the same (nor a proof for the opposite statement). I suppose that in most practical cases they are the same, so it makes no sense bloating UI with "approximate" / "exact" separation.
Attachments
patch (10.64 KB, patch)
2011-03-29 09:43 PDT, Mikhail Naganov
pfeldman: review+
mnaganov: commit-queue-
Mikhail Naganov
Comment 1 2011-03-29 09:43:17 PDT
Mikhail Naganov
Comment 2 2011-03-29 23:27:35 PDT
Manually committed http://trac.webkit.org/changeset/82393 2011-03-29 Mikhail Naganov <mnaganov@chromium.org> Reviewed by Pavel Feldman. Web Inspector: [Chromium] Remove exact retained size request in detailed heap snapshots. https://bugs.webkit.org/show_bug.cgi?id=57351 * bindings/js/ScriptHeapSnapshot.h: * bindings/v8/ScriptHeapSnapshot.cpp: * bindings/v8/ScriptHeapSnapshot.h: * inspector/Inspector.json: * inspector/InspectorProfilerAgent.cpp: * inspector/InspectorProfilerAgent.h: * inspector/front-end/DetailedHeapshotGridNodes.js: (WebInspector.HeapSnapshotGenericObjectNode): (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data): * inspector/front-end/DetailedHeapshotView.js: (WebInspector.DetailedHeapshotView.prototype._mouseClickInContainmentGrid):
WebKit Review Bot
Comment 3 2011-03-30 00:12:29 PDT
http://trac.webkit.org/changeset/82393 might have broken SnowLeopard Intel Release (WebKit2 Tests)
Note You need to log in before you can comment on or make changes to this bug.