DOMDataStore::reportMemoryUsage adds all referenced maps byPointers but in case of StaticDOMDataStore the maps are actually fields of StaticDOMDataStore and shouldn't be counted separately.
Created attachment 164375 [details] Patch
Created attachment 164379 [details] Patch
Comment on attachment 164379 [details] Patch lgtm
Comment on attachment 164379 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=164379&action=review > Source/WebCore/bindings/v8/ScopedDOMDataStore.cpp:58 > + info.addInstrumentedMember(m_domNodeMap); please call base class instrumentation > Source/WebCore/bindings/v8/StaticDOMDataStore.cpp:59 > + MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::Binding); please call base class instrumentation
Created attachment 164383 [details] Patch
(In reply to comment #4) > (From update of attachment 164379 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=164379&action=review > > > Source/WebCore/bindings/v8/ScopedDOMDataStore.cpp:58 > > + info.addInstrumentedMember(m_domNodeMap); > > please call base class instrumentation > Done. > > Source/WebCore/bindings/v8/StaticDOMDataStore.cpp:59 > > + MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::Binding); > > please call base class instrumentation Done.
Comment on attachment 164379 [details] Patch rs=me
Committed r128752: <http://trac.webkit.org/changeset/128752>