WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
95834
Web Inspector: NMI: extract overloaded instrumentation members for WebCore classes from core NMI code.
https://bugs.webkit.org/show_bug.cgi?id=95834
Summary
Web Inspector: NMI: extract overloaded instrumentation members for WebCore cl...
Ilya Tikhonovsky
Reported
2012-09-05 02:52:08 PDT
I'd like to upstream core memory instrumentation code to WTF. This will give us a chance to implement reportMemoryUsage members for containers. On this way I have to remove WebCore specific members from MemoryInstrumentation class.
Attachments
Patch
(31.73 KB, patch)
2012-09-05 02:59 PDT
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
patch for mac try bot
(31.73 KB, patch)
2012-09-05 04:45 PDT
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
another patch for mac try bot
(31.72 KB, patch)
2012-09-05 05:28 PDT
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
Patch
(39.42 KB, patch)
2012-09-05 07:23 PDT
,
Ilya Tikhonovsky
yurys
: review+
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Ilya Tikhonovsky
Comment 1
2012-09-05 02:59:29 PDT
Created
attachment 162200
[details]
Patch
Build Bot
Comment 2
2012-09-05 03:28:52 PDT
Comment on
attachment 162200
[details]
Patch
Attachment 162200
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/13765140
Ilya Tikhonovsky
Comment 3
2012-09-05 04:45:49 PDT
Created
attachment 162219
[details]
patch for mac try bot
Ilya Tikhonovsky
Comment 4
2012-09-05 04:48:20 PDT
(In reply to
comment #2
)
> (From update of
attachment 162200
[details]
) >
Attachment 162200
[details]
did not pass mac-ews (mac): > Output:
http://queues.webkit.org/results/13765140
looks like gcc bug
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15867
Build Bot
Comment 5
2012-09-05 05:17:11 PDT
Comment on
attachment 162219
[details]
patch for mac try bot
Attachment 162219
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/13741894
Ilya Tikhonovsky
Comment 6
2012-09-05 05:28:26 PDT
Created
attachment 162225
[details]
another patch for mac try bot
Yury Semikhatsky
Comment 7
2012-09-05 07:08:53 PDT
Comment on
attachment 162225
[details]
another patch for mac try bot View in context:
https://bugs.webkit.org/attachment.cgi?id=162225&action=review
> Source/WebCore/dom/MemoryInstrumentation.cpp:55 > +template <> void MemoryInstrumentationTraits::addInstrumentedObject<String>(MemoryInstrumentation* instrumentation, const String* const& string, MemoryObjectType ownerObjectType, MemoryOwningType owningType)
template <> -> template<> here and in other places.
> Source/WebCore/dom/MemoryInstrumentation.h:54 > +class MemoryInstrumentationTraits {
Please add an explanation(at least in the ChangeLog) why we cannot use template class here.
Ilya Tikhonovsky
Comment 8
2012-09-05 07:23:39 PDT
Created
attachment 162241
[details]
Patch
Yury Semikhatsky
Comment 9
2012-09-05 07:49:35 PDT
Comment on
attachment 162241
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=162241&action=review
> Source/WebCore/dom/MemoryInstrumentation.h:393 > +template<> void MemoryInstrumentationTraits::addInstrumentedObject<const KURL>(MemoryInstrumentation*, const KURL* const&, MemoryObjectType, MemoryOwningType);
Why do we need overload for T in addition to const T ?
Ilya Tikhonovsky
Comment 10
2012-09-05 07:52:26 PDT
Committed
r127592
: <
http://trac.webkit.org/changeset/127592
>
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