Changeset 127195 in webkit
- Timestamp:
- Aug 30, 2012, 2:56:45 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r127178 r127195 1 2012-08-30 JungJik Lee <jungjik.lee@samsung.com> 2 3 [EFL][WK2] Add WebMemorySampler feature. 4 https://bugs.webkit.org/show_bug.cgi?id=91214 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Set WebMemorySampler feature on in EFL port. 9 10 * Source/cmake/OptionsEfl.cmake: 11 * Source/cmake/WebKitFeatures.cmake: 12 * Source/cmakeconfig.h.cmake: 13 1 14 2012-08-30 Rob Buis <rbuis@rim.com> 2 15 -
trunk/Source/JavaScriptCore/ChangeLog
r127191 r127195 1 2012-08-30 JungJik Lee <jungjik.lee@samsung.com> 2 3 [EFL][WK2] Add WebMemorySampler feature. 4 https://bugs.webkit.org/show_bug.cgi?id=91214 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 WebMemorySampler collects Javascript stack and JIT memory usage in globalMemoryStatistics. 9 10 * PlatformEfl.cmake: 11 1 12 2012-08-30 Benjamin Poulain <bpoulain@apple.com> 2 13 -
trunk/Source/JavaScriptCore/PlatformEfl.cmake
r111150 r127195 2 2 jit/ExecutableAllocatorFixedVMPool.cpp 3 3 jit/ExecutableAllocator.cpp 4 5 runtime/MemoryStatistics.cpp 4 6 ) 5 7 -
trunk/Source/WebKit2/ChangeLog
r127193 r127195 1 2012-08-30 JungJik Lee <jungjik.lee@samsung.com> 2 3 [EFL][WK2] Add WebMemorySampler feature. 4 https://bugs.webkit.org/show_bug.cgi?id=91214 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Add WebMemorySampler feature to EFL port. WebMemorySampler records memory usage of 9 WebProcess and UI Process and also it records application memory status in real time. 10 Included items on the result are JIT, JS heap, fastmalloc bytes and 11 application memory info from /proc/process_id/statm. 12 13 * PlatformEfl.cmake: 14 * Shared/linux/WebMemorySamplerLinux.cpp: Added. 15 (WebKit): 16 (ApplicationMemoryStats): 17 (WebKit::nextToken): 18 (WebKit::appendKeyValuePair): 19 (WebKit::sampleMemoryAllocatedForApplication): 20 (WebKit::WebMemorySampler::processName): 21 (WebKit::WebMemorySampler::sampleWebKit): 22 (WebKit::WebMemorySampler::sendMemoryPressureEvent): 23 * UIProcess/API/efl/ewk_context.cpp: 24 (_Ewk_Context::_Ewk_Context): 25 1 26 2012-08-30 Pratik Solanki <psolanki@apple.com> 2 27 -
trunk/Source/WebKit2/PlatformEfl.cmake
r126866 r127195 16 16 Platform/CoreIPC/unix/AttachmentUnix.cpp 17 17 18 Shared/WebMemorySampler.cpp 19 18 20 Shared/API/c/cairo/WKImageCairo.cpp 19 21 … … 28 30 Shared/efl/ProcessExecutablePathEfl.cpp 29 31 Shared/efl/WebEventFactory.cpp 32 33 Shared/linux/WebMemorySamplerLinux.cpp 30 34 31 35 Shared/soup/PlatformCertificateInfo.cpp -
trunk/Source/WebKit2/UIProcess/API/efl/ewk_context.cpp
r126926 r127195 26 26 #include "WKAPICast.h" 27 27 #include "WKContextSoup.h" 28 #include "WKNumber.h" 28 29 #include "WKRetainPtr.h" 29 30 #include "WKString.h" … … 86 87 #endif 87 88 89 #if ENABLE(MEMORY_SAMPLER) 90 static bool initializeMemorySampler = false; 91 static const char environmentVariable[] = "SAMPLE_MEMORY"; 92 93 if (!initializeMemorySampler && getenv(environmentVariable)) { 94 WKRetainPtr<WKDoubleRef> interval(AdoptWK, WKDoubleCreate(0.0)); 95 WKContextStartMemorySampler(context.get(), interval.get()); 96 initializeMemorySampler = true; 97 } 98 #endif 88 99 ewk_context_request_manager_client_attach(this); 89 100 ewk_context_download_client_attach(this); -
trunk/Source/cmake/OptionsEfl.cmake
r126735 r127195 79 79 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LINK_PREFETCH ON) 80 80 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEDIA_CAPTURE ON) 81 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEMORY_SAMPLER ON) 81 82 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MICRODATA ON) 82 83 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NAVIGATOR_CONTENT_UTILS ON) -
trunk/Source/cmake/WebKitFeatures.cmake
r126735 r127195 78 78 WEBKIT_OPTION_DEFINE(ENABLE_MEDIA_STATISTICS "Toggle Media Statistics support" OFF) 79 79 WEBKIT_OPTION_DEFINE(ENABLE_MEDIA_STREAM "Toggle Media Stream API support" OFF) 80 WEBKIT_OPTION_DEFINE(ENABLE_MEMORY_SAMPLER "Toggle Memory Sampler support" OFF) 80 81 WEBKIT_OPTION_DEFINE(ENABLE_METER_ELEMENT "Toggle Meter Tag support" ON) 81 82 WEBKIT_OPTION_DEFINE(ENABLE_MHTML "Toggle MHTML support" OFF) -
trunk/Source/cmakeconfig.h.cmake
r126735 r127195 68 68 #cmakedefine01 ENABLE_MEDIA_CAPTURE 69 69 #cmakedefine01 ENABLE_MEDIA_STREAM 70 #cmakedefine01 ENABLE_MEMORY_SAMPLER 70 71 #cmakedefine01 ENABLE_METER_ELEMENT 71 72 #cmakedefine01 ENABLE_MICRODATA
Note:
See TracChangeset
for help on using the changeset viewer.