Skip to content
  • commit-queue@webkit.org's avatar
    Add FastMalloc statistics in window.internals · 7a7180c3
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=91274
    
    Patch by Olivier Blin <olivier.blin@softathome.com> on 2012-07-26
    Reviewed by Ryosuke Niwa.
    
    Source/WebCore:
    
    Test: fast/harness/fastmallocstatistics-object.html
    
    * CMakeLists.txt:
    * DerivedSources.make:
    * DerivedSources.pri:
    * GNUmakefile.list.am:
    * Target.pri:
    * WebCore.gyp/WebCore.gyp:
    * WebCore.gypi:
    * WebCore.vcproj/WebCoreTestSupport.vcproj:
    * WebCore.xcodeproj/project.pbxproj:
    * testing/FastMallocStatistics.h: Added.
    (WebCore):
    (FastMallocStatistics):
    (WebCore::FastMallocStatistics::create):
    (WebCore::FastMallocStatistics::reservedVMBytes):
    (WebCore::FastMallocStatistics::committedVMBytes):
    (WebCore::FastMallocStatistics::freeListBytes):
    (WebCore::FastMallocStatistics::FastMallocStatistics):
    * testing/FastMallocStatistics.idl: Added.
    * testing/Internals.cpp:
    (WebCore::Internals::fastMallocStatistics):
    (WebCore):
    * testing/Internals.h:
    (WebCore):
    (Internals):
    * testing/Internals.idl:
    
    Tools:
    
    * GNUmakefile.am:
    
    LayoutTests:
    
    * fast/harness/fastmallocstatistics-object-expected.txt: Added.
    * fast/harness/fastmallocstatistics-object.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123773 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7a7180c3