Changeset 123773 in webkit
- Timestamp:
- Jul 26, 2012 11:16:54 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r123772 r123773 1 2012-07-26 Olivier Blin <olivier.blin@softathome.com> 2 3 Add FastMalloc statistics in window.internals 4 https://bugs.webkit.org/show_bug.cgi?id=91274 5 6 Reviewed by Ryosuke Niwa. 7 8 * fast/harness/fastmallocstatistics-object-expected.txt: Added. 9 * fast/harness/fastmallocstatistics-object.html: Added. 10 1 11 2012-07-26 Luciano Wolf <luciano.wolf@openbossa.org> 2 12 -
trunk/Source/WebCore/CMakeLists.txt
r123724 r123773 2627 2627 2628 2628 SET(WebCoreTestSupport_IDL_FILES 2629 testing/FastMallocStatistics.idl 2629 2630 testing/Internals.idl 2630 2631 testing/InternalSettings.idl -
trunk/Source/WebCore/ChangeLog
r123772 r123773 1 2012-07-26 Olivier Blin <olivier.blin@softathome.com> 2 3 Add FastMalloc statistics in window.internals 4 https://bugs.webkit.org/show_bug.cgi?id=91274 5 6 Reviewed by Ryosuke Niwa. 7 8 Test: fast/harness/fastmallocstatistics-object.html 9 10 * CMakeLists.txt: 11 * DerivedSources.make: 12 * DerivedSources.pri: 13 * GNUmakefile.list.am: 14 * Target.pri: 15 * WebCore.gyp/WebCore.gyp: 16 * WebCore.gypi: 17 * WebCore.vcproj/WebCoreTestSupport.vcproj: 18 * WebCore.xcodeproj/project.pbxproj: 19 * testing/FastMallocStatistics.h: Added. 20 (WebCore): 21 (FastMallocStatistics): 22 (WebCore::FastMallocStatistics::create): 23 (WebCore::FastMallocStatistics::reservedVMBytes): 24 (WebCore::FastMallocStatistics::committedVMBytes): 25 (WebCore::FastMallocStatistics::freeListBytes): 26 (WebCore::FastMallocStatistics::FastMallocStatistics): 27 * testing/FastMallocStatistics.idl: Added. 28 * testing/Internals.cpp: 29 (WebCore::Internals::fastMallocStatistics): 30 (WebCore): 31 * testing/Internals.h: 32 (WebCore): 33 (Internals): 34 * testing/Internals.idl: 35 1 36 2012-07-26 Adrienne Walker <enne@google.com> 2 37 -
trunk/Source/WebCore/DerivedSources.make
r123722 r123773 590 590 $(WebCore)/svg/SVGZoomAndPan.idl \ 591 591 $(WebCore)/svg/SVGZoomEvent.idl \ 592 $(WebCore)/testing/FastMallocStatistics.idl \ 592 593 $(WebCore)/testing/Internals.idl \ 593 594 $(WebCore)/testing/InternalSettings.idl \ -
trunk/Source/WebCore/DerivedSources.pri
r123722 r123773 444 444 $$PWD/storage/Storage.idl \ 445 445 $$PWD/storage/StorageEvent.idl \ 446 $$PWD/testing/FastMallocStatistics.idl \ 446 447 $$PWD/testing/Internals.idl \ 447 448 $$PWD/testing/InternalSettings.idl \ -
trunk/Source/WebCore/GNUmakefile.list.am
r123724 r123773 994 994 $(WebCore)/storage/Storage.idl \ 995 995 $(WebCore)/storage/StorageEvent.idl \ 996 $(WebCore)/testing/FastMallocStatistics.idl \ 996 997 $(WebCore)/testing/Internals.idl \ 997 998 $(WebCore)/testing/InternalSettings.idl \ -
trunk/Source/WebCore/Target.pri
r123522 r123773 2643 2643 svg/SVGZoomAndPan.h \ 2644 2644 svg/SVGZoomEvent.h \ 2645 testing/FastMallocStatistics.h \ 2645 2646 testing/Internals.h \ 2646 2647 testing/InternalSettings.h \ -
trunk/Source/WebCore/WebCore.gyp/WebCore.gyp
r123668 r123773 2131 2131 'sources': [ 2132 2132 '<@(webcore_test_support_files)', 2133 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8FastMallocStatistics.cpp', 2134 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8FastMallocStatistics.h', 2133 2135 '<(SHARED_INTERMEDIATE_DIR)/webcore/bindings/V8Internals.cpp', 2134 2136 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings/V8Internals.h', -
trunk/Source/WebCore/WebCore.gypi
r123768 r123773 6197 6197 ], 6198 6198 'webcore_test_support_idl_files': [ 6199 'testing/FastMallocStatistics.idl', 6199 6200 'testing/Internals.idl', 6200 6201 'testing/InternalSettings.idl', … … 6205 6206 'testing/js/WebCoreTestSupport.cpp', 6206 6207 'testing/js/WebCoreTestSupport.h', 6208 'testing/FastMallocStatistics.h', 6207 6209 'testing/Internals.cpp', 6208 6210 'testing/Internals.h', -
trunk/Source/WebCore/WebCore.vcproj/WebCoreTestSupport.vcproj
r112506 r123773 349 349 > 350 350 <File 351 RelativePath="$(ConfigurationBuildDir)\obj\WebCore\DerivedSources\JSFastMallocStatistics.cpp" 352 > 353 <FileConfiguration 354 Name="Debug|Win32" 355 > 356 <Tool 357 Name="VCCLCompilerTool" 358 UsePrecompiledHeader="0" 359 DisableSpecificWarnings="4065;4273;4565;4701;4702" 360 ForcedIncludeFiles="$(NOINHERIT)" 361 /> 362 </FileConfiguration> 363 <FileConfiguration 364 Name="Release|Win32" 365 > 366 <Tool 367 Name="VCCLCompilerTool" 368 UsePrecompiledHeader="0" 369 DisableSpecificWarnings="4065;4273;4565;4701;4702" 370 ForcedIncludeFiles="$(NOINHERIT)" 371 /> 372 </FileConfiguration> 373 <FileConfiguration 374 Name="Debug_Cairo_CFLite|Win32" 375 > 376 <Tool 377 Name="VCCLCompilerTool" 378 UsePrecompiledHeader="0" 379 DisableSpecificWarnings="4065;4273;4565;4701;4702" 380 ForcedIncludeFiles="$(NOINHERIT)" 381 /> 382 </FileConfiguration> 383 <FileConfiguration 384 Name="Release_Cairo_CFLite|Win32" 385 > 386 <Tool 387 Name="VCCLCompilerTool" 388 UsePrecompiledHeader="0" 389 DisableSpecificWarnings="4065;4273;4565;4701;4702" 390 ForcedIncludeFiles="$(NOINHERIT)" 391 /> 392 </FileConfiguration> 393 <FileConfiguration 394 Name="Debug_All|Win32" 395 > 396 <Tool 397 Name="VCCLCompilerTool" 398 UsePrecompiledHeader="0" 399 DisableSpecificWarnings="4065;4273;4565;4701;4702" 400 ForcedIncludeFiles="$(NOINHERIT)" 401 /> 402 </FileConfiguration> 403 <FileConfiguration 404 Name="Production|Win32" 405 > 406 <Tool 407 Name="VCCLCompilerTool" 408 UsePrecompiledHeader="0" 409 DisableSpecificWarnings="4065;4273;4565;4701;4702" 410 ForcedIncludeFiles="$(NOINHERIT)" 411 /> 412 </FileConfiguration> 413 </File> 414 <File 415 RelativePath="$(ConfigurationBuildDir)\obj\WebCore\DerivedSources\JSFastMallocStatistics.h" 416 > 417 </File> 418 <File 351 419 RelativePath="$(ConfigurationBuildDir)\obj\WebCore\DerivedSources\JSInternals.cpp" 352 420 > … … 488 556 Name="testing" 489 557 > 558 <File 559 RelativePath="..\testing\FastMallocStatistics.h" 560 > 561 </File> 490 562 <File 491 563 RelativePath="..\testing\Internals.cpp" -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r123722 r123773 3795 3795 A73F95FE12C97BFE0031AAF9 /* RoundedRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A73F95FC12C97BFE0031AAF9 /* RoundedRect.cpp */; }; 3796 3796 A73F95FF12C97BFE0031AAF9 /* RoundedRect.h in Headers */ = {isa = PBXBuildFile; fileRef = A73F95FD12C97BFE0031AAF9 /* RoundedRect.h */; settings = {ATTRIBUTES = (Private, ); }; }; 3797 A740B59514C935AB00A77FA4 /* JSFastMallocStatistics.h in Headers */ = {isa = PBXBuildFile; fileRef = A7B4EA6914C9348400C8F5BF /* JSFastMallocStatistics.h */; }; 3798 A740B59714C935AF00A77FA4 /* JSFastMallocStatistics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7B4EA6814C9348400C8F5BF /* JSFastMallocStatistics.cpp */; }; 3797 3799 A740B5A514C935AB00A77FA4 /* JSInternalSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = A7B4EA7914C9348400C8F5BF /* JSInternalSettings.h */; }; 3798 3800 A740B5A714C935AF00A77FA4 /* JSInternalSettings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7B4EA7814C9348400C8F5BF /* JSInternalSettings.cpp */; }; … … 3833 3835 A7BBE26611AFB3F20005EA03 /* JSHTMLMeterElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7BBE26411AFB3F20005EA03 /* JSHTMLMeterElement.cpp */; }; 3834 3836 A7BBE26711AFB3F20005EA03 /* JSHTMLMeterElement.h in Headers */ = {isa = PBXBuildFile; fileRef = A7BBE26511AFB3F20005EA03 /* JSHTMLMeterElement.h */; }; 3837 A7BE7EDF14C9175A0014489D /* FastMallocStatistics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7BE7EDC14C9175A0014489D /* FastMallocStatistics.cpp */; }; 3835 3838 A7BF7EDF14C9175A0014489D /* InternalSettings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A7BF7EDC14C9175A0014489D /* InternalSettings.cpp */; }; 3836 3839 A7BF7EE014C9175A0014489D /* InternalSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = A7BF7EDD14C9175A0014489D /* InternalSettings.h */; }; … … 11001 11004 A7B070D0130A409C00A3763C /* FrameActionScheduler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FrameActionScheduler.cpp; sourceTree = "<group>"; }; 11002 11005 A7B070D1130A409C00A3763C /* FrameActionScheduler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FrameActionScheduler.h; sourceTree = "<group>"; }; 11006 A7B4EA6814C9348400C8F5BF /* JSFastMallocStatistics.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFastMallocStatistics.cpp; sourceTree = "<group>"; }; 11007 A7B4EA6914C9348400C8F5BF /* JSFastMallocStatistics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSFastMallocStatistics.h; sourceTree = "<group>"; }; 11003 11008 A7B4EA7814C9348400C8F5BF /* JSInternalSettings.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSInternalSettings.cpp; sourceTree = "<group>"; }; 11004 11009 A7B4EA7914C9348400C8F5BF /* JSInternalSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSInternalSettings.h; sourceTree = "<group>"; }; … … 11007 11012 A7BBE26411AFB3F20005EA03 /* JSHTMLMeterElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLMeterElement.cpp; sourceTree = "<group>"; }; 11008 11013 A7BBE26511AFB3F20005EA03 /* JSHTMLMeterElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSHTMLMeterElement.h; sourceTree = "<group>"; }; 11014 A7BE7EDD14C9175A0014489D /* FastMallocStatistics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FastMallocStatistics.h; sourceTree = "<group>"; }; 11015 A7BE7EDE14C9175A0014489D /* FastMallocStatistics.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = FastMallocStatistics.idl; sourceTree = "<group>"; }; 11009 11016 A7BF7EDC14C9175A0014489D /* InternalSettings.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InternalSettings.cpp; sourceTree = "<group>"; }; 11010 11017 A7BF7EDD14C9175A0014489D /* InternalSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InternalSettings.h; sourceTree = "<group>"; }; … … 14889 14896 children = ( 14890 14897 41815C1B138319630057AAA4 /* js */, 14898 A7BE7EDD14C9175A0014489D /* FastMallocStatistics.h */, 14899 A7BE7EDE14C9175A0014489D /* FastMallocStatistics.idl */, 14891 14900 417DA4CF13734326007C57FB /* Internals.cpp */, 14892 14901 417DA4CE13734326007C57FB /* Internals.h */, … … 14902 14911 isa = PBXGroup; 14903 14912 children = ( 14913 A7B4EA6814C9348400C8F5BF /* JSFastMallocStatistics.cpp */, 14914 A7B4EA6914C9348400C8F5BF /* JSFastMallocStatistics.h */, 14904 14915 417DA71B13735DFA007C57FB /* JSInternals.cpp */, 14905 14916 417DA71C13735DFA007C57FB /* JSInternals.h */, … … 22044 22055 buildActionMask = 2147483647; 22045 22056 files = ( 22057 A7BE7EE014C9175A0014489D /* FastMallocStatistics.h in Headers */, 22046 22058 417DA6DA13734E6E007C57FB /* Internals.h in Headers */, 22047 22059 A7BF7EE014C9175A0014489D /* InternalSettings.h in Headers */, 22060 A740B59514C935AB00A77FA4 /* JSFastMallocStatistics.h in Headers */, 22048 22061 417DA71E13735DFA007C57FB /* JSInternals.h in Headers */, 22049 22062 A740B5A514C935AB00A77FA4 /* JSInternalSettings.h in Headers */, … … 25655 25668 417DA6D913734E6E007C57FB /* Internals.cpp in Sources */, 25656 25669 A7BF7EDF14C9175A0014489D /* InternalSettings.cpp in Sources */, 25670 A740B59714C935AF00A77FA4 /* JSFastMallocStatistics.cpp in Sources */, 25657 25671 417DA71D13735DFA007C57FB /* JSInternals.cpp in Sources */, 25658 25672 A740B5A714C935AF00A77FA4 /* JSInternalSettings.cpp in Sources */, -
trunk/Source/WebCore/testing/Internals.cpp
r123719 r123773 39 39 #include "ElementShadow.h" 40 40 #include "ExceptionCode.h" 41 #include "FastMallocStatistics.h" 41 42 #include "Frame.h" 42 43 #include "FrameView.h" … … 1169 1170 } 1170 1171 1171 } 1172 PassRefPtr<FastMallocStatistics> Internals::fastMallocStatistics() const 1173 { 1174 return FastMallocStatistics::create(); 1175 } 1176 1177 } -
trunk/Source/WebCore/testing/Internals.h
r123719 r123773 50 50 class ShadowRoot; 51 51 class WebKitPoint; 52 class FastMallocStatistics; 52 53 53 54 typedef int ExceptionCode; … … 206 207 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme); 207 208 209 PassRefPtr<FastMallocStatistics> fastMallocStatistics() const; 210 208 211 private: 209 212 explicit Internals(Document*); -
trunk/Source/WebCore/testing/Internals.idl
r123711 r123773 183 183 void registerURLSchemeAsBypassingContentSecurityPolicy(in DOMString scheme); 184 184 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(in DOMString scheme); 185 186 FastMallocStatistics fastMallocStatistics(); 185 187 }; 186 188 } -
trunk/Tools/ChangeLog
r123757 r123773 1 2012-07-26 Olivier Blin <olivier.blin@softathome.com> 2 3 Add FastMalloc statistics in window.internals 4 https://bugs.webkit.org/show_bug.cgi?id=91274 5 6 Reviewed by Ryosuke Niwa. 7 8 * GNUmakefile.am: 9 1 10 2012-07-20 Holger Hans Peter Freyther <holger@moiji-mobile.com> 2 11 -
trunk/Tools/GNUmakefile.am
r122707 r123773 44 44 Source/WebCore/bindings/js/JSDOMWrapper.cpp \ 45 45 Source/WebCore/bindings/js/JSDOMWrapper.h \ 46 Source/WebCore/testing/FastMallocStatistics.h \ 46 47 Source/WebCore/testing/Internals.cpp \ 47 48 Source/WebCore/testing/Internals.h \ … … 54 55 55 56 libwebcoreinternals_built_sources += \ 57 DerivedSources/WebCore/JSFastMallocStatistics.cpp \ 58 DerivedSources/WebCore/JSFastMallocStatistics.h \ 56 59 DerivedSources/WebCore/JSInternals.cpp \ 57 60 DerivedSources/WebCore/JSInternals.h \
Note: See TracChangeset
for help on using the changeset viewer.