WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
97461
Web Inspector: NMI: move visited and countObjectSize methods implementation into separate class
https://bugs.webkit.org/show_bug.cgi?id=97461
Summary
Web Inspector: NMI: move visited and countObjectSize methods implementation i...
Ilya Tikhonovsky
Reported
2012-09-24 09:37:58 PDT
these methods and the data collected by them need to be used in the instrumentation code for other components. As example when we are visiting bitmaps we need to visit platform specific objects. These objects will be instrumented with help of component's own instrumentation code but we have to keep the single set of visited objects and the map of counters.
Attachments
Patch
(33.09 KB, patch)
2012-09-24 09:41 PDT
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
Patch
(33.14 KB, patch)
2012-09-24 09:57 PDT
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
rebaselined
(41.96 KB, patch)
2012-09-27 01:45 PDT
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
unnecessary inspectorData argument was removed
(41.91 KB, patch)
2012-09-27 01:50 PDT
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
mac build fix
(41.85 KB, patch)
2012-09-27 02:36 PDT
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
comments addressed
(42.87 KB, patch)
2012-09-27 06:25 PDT
,
Ilya Tikhonovsky
yurys
: review+
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Ilya Tikhonovsky
Comment 1
2012-09-24 09:41:48 PDT
Created
attachment 165399
[details]
Patch
Ilya Tikhonovsky
Comment 2
2012-09-24 09:57:03 PDT
Created
attachment 165405
[details]
Patch
Ilya Tikhonovsky
Comment 3
2012-09-27 01:45:50 PDT
Created
attachment 165951
[details]
rebaselined
Ilya Tikhonovsky
Comment 4
2012-09-27 01:50:29 PDT
Created
attachment 165952
[details]
unnecessary inspectorData argument was removed
Build Bot
Comment 5
2012-09-27 02:28:13 PDT
Comment on
attachment 165952
[details]
unnecessary inspectorData argument was removed
Attachment 165952
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/14031820
Ilya Tikhonovsky
Comment 6
2012-09-27 02:36:15 PDT
Created
attachment 165958
[details]
mac build fix
Yury Semikhatsky
Comment 7
2012-09-27 05:53:23 PDT
Comment on
attachment 165958
[details]
mac build fix View in context:
https://bugs.webkit.org/attachment.cgi?id=165958&action=review
> Source/WTF/wtf/MemoryInstrumentation.h:114 > + MemoryInstrumentationClient* m_client;
Please move the field declaration below the methods.
> Source/WTF/wtf/MemoryInstrumentation.h:121 > virtual void checkCountedObject(const void*) = 0;
This method should also delegate to the client.
> Source/WebCore/inspector/InspectorMemoryAgent.cpp:106 > + MemoryInstrumentationClientImpl* m_client;
style: fields should go after the methods below.
Ilya Tikhonovsky
Comment 8
2012-09-27 06:25:51 PDT
Created
attachment 165988
[details]
comments addressed
Yury Semikhatsky
Comment 9
2012-09-27 06:42:19 PDT
Comment on
attachment 165988
[details]
comments addressed View in context:
https://bugs.webkit.org/attachment.cgi?id=165988&action=review
> Source/WTF/wtf/MemoryInstrumentation.h:96 > + MemoryInstrumentation(MemoryInstrumentationClient* client) : m_client(client) { }
should be marked explicit
> Source/WebCore/inspector/MemoryInstrumentationImpl.cpp:67 > +void MemoryInstrumentationImpl::processDeferredInstrumentedPointers()
Why did this move?
Ilya Tikhonovsky
Comment 10
2012-09-27 06:45:46 PDT
Committed
r129762
: <
http://trac.webkit.org/changeset/129762
>
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