Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Web Inspector: Native Memory Instrumentation: instrument not instrume…
…nted members. https://bugs.webkit.org/show_bug.cgi?id=105830 Reviewed by Vsevolod Vlasov. In some cases we don't want to visit some class members. As example we decided to skip pointers to interface classes such as GraphicLayerClient. We could use addWeakPointer for them but it can't be used for nonpointer members. In the offline discussion we came to a conclusion that we need a new instrumentation method ignoreMember, which will be used for all the members which we won't like to visit/instrument. DriveBy: Also I instrumented not yet instrumented members. Source/WebCore: * bindings/v8/DOMWrapperMap.h: (WebCore::DOMWrapperMap::reportMemoryUsage): * bindings/v8/ScriptWrappable.h: (WebCore::ScriptWrappable::reportMemoryUsage): * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::reportMemoryUsage): * platform/KURLGoogle.cpp: (WebCore::KURLGooglePrivate::reportMemoryUsage): * platform/SharedBuffer.cpp: (WebCore::SharedBuffer::reportMemoryUsage): * platform/audio/AudioArray.h: (WebCore::AudioArray::reportMemoryUsage): * platform/graphics/GraphicsLayer.cpp: (WebCore::GraphicsLayer::reportMemoryUsage): * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::reportMemoryUsage): * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::RowStruct::reportMemoryUsage): * rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::reportMemoryUsage): * rendering/style/StyleRareInheritedData.cpp: (WebCore::StyleRareInheritedData::reportMemoryUsage): Source/WTF: * wtf/MemoryInstrumentation.h: (MemoryClassInfo): (WTF::MemoryClassInfo::ignoreMember): Canonical link: https://commits.webkit.org/124045@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@138561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
14 changed files
with
78 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters