RESOLVED FIXED 110124
Web Inspector: Native Memory Instrumentation: show user provided name property of the heap snapshot node
https://bugs.webkit.org/show_bug.cgi?id=110124
Summary Web Inspector: Native Memory Instrumentation: show user provided name propert...
Ilya Tikhonovsky
Reported 2013-02-18 08:43:13 PST
Some nodes have nonzero name property that was assigned via MemoryObjectInfo::setName method This name may give the user a clue which particular object takes so much memory. As example in case of WebCore::CachedImage the instrumentation provides url as the name of the object.
Attachments
Patch (5.17 KB, patch)
2013-02-18 08:45 PST, Ilya Tikhonovsky
yurys: review+
Ilya Tikhonovsky
Comment 1 2013-02-18 08:45:37 PST
Yury Semikhatsky
Comment 2 2013-02-19 04:12:05 PST
Comment on attachment 188895 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=188895&action=review > Source/WebCore/inspector/front-end/HeapSnapshotProxy.js:186 > + this._worker = /*typeof InspectorTest === "undefined" ? new WebInspector.HeapSnapshotRealWorker() :*/ new WebInspector.HeapSnapshotFakeWorker(); Please revert this. > Source/WebCore/inspector/front-end/NativeHeapSnapshot.js:112 > + userProvidedName: this.name(), displayName ?
Ilya Tikhonovsky
Comment 3 2013-02-19 04:23:09 PST
Note You need to log in before you can comment on or make changes to this bug.