-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=91214 Patch by JungJik Lee <jungjik.lee@samsung.com> on 2012-08-30 Reviewed by Kenneth Rohde Christiansen. .: Set WebMemorySampler feature on in EFL port. * Source/cmake/OptionsEfl.cmake: * Source/cmake/WebKitFeatures.cmake: * Source/cmakeconfig.h.cmake: Source/JavaScriptCore: WebMemorySampler collects Javascript stack and JIT memory usage in globalMemoryStatistics. * PlatformEfl.cmake: Source/WebKit2: Add WebMemorySampler feature to EFL port. WebMemorySampler records memory usage of WebProcess and UI Process and also it records application memory status in real time. Included items on the result are JIT, JS heap, fastmalloc bytes and application memory info from /proc/process_id/statm. * PlatformEfl.cmake: * Shared/linux/WebMemorySamplerLinux.cpp: Added. (WebKit): (ApplicationMemoryStats): (WebKit::nextToken): (WebKit::appendKeyValuePair): (WebKit::sampleMemoryAllocatedForApplication): (WebKit::WebMemorySampler::processName): (WebKit::WebMemorySampler::sampleWebKit): (WebKit::WebMemorySampler::sendMemoryPressureEvent): * UIProcess/API/efl/ewk_context.cpp: (_Ewk_Context::_Ewk_Context): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127195 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9f7e231d