Bug 95834

Summary: Web Inspector: NMI: extract overloaded instrumentation members for WebCore classes from core NMI code.
Product: WebKit Reporter: Ilya Tikhonovsky <loislo>
Component: Web Inspector (Deprecated)Assignee: Ilya Tikhonovsky <loislo>
Status: RESOLVED FIXED    
Severity: Normal CC: alph, apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
patch for mac try bot
none
another patch for mac try bot
none
Patch yurys: review+

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
patch for mac try bot (31.73 KB, patch)
2012-09-05 04:45 PDT, Ilya Tikhonovsky
no flags
another patch for mac try bot (31.72 KB, patch)
2012-09-05 05:28 PDT, Ilya Tikhonovsky
no flags
Patch (39.42 KB, patch)
2012-09-05 07:23 PDT, Ilya Tikhonovsky
yurys: review+
Ilya Tikhonovsky
Comment 1 2012-09-05 02:59:29 PDT
Build Bot
Comment 2 2012-09-05 03:28:52 PDT
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
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
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
Note You need to log in before you can comment on or make changes to this bug.