Changeset 66818 in webkit
- Timestamp:
- Sep 6, 2010 1:31:08 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r66815 r66818 1 2010-09-06 Anton Muhin <antonm@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 [v8] bypass caches when query memory usage from post GC and in crash handler. 6 https://bugs.webkit.org/show_bug.cgi?id=45036 7 8 Add Chromium-specific API to query actual memory usage which bypasses any caches. 9 10 * platform/chromium/ChromiumBridge.h: 11 1 12 2010-09-06 Adam Barth <abarth@webkit.org> 2 13 -
trunk/WebCore/platform/chromium/ChromiumBridge.h
r66293 r66818 191 191 static int memoryUsageMB(); 192 192 193 // Same as above, but always returns actual value, without any caches. 194 static int actualMemoryUsageMB(); 195 193 196 // MimeType ----------------------------------------------------------- 194 197 static bool isSupportedImageMIMEType(const String& mimeType); -
trunk/WebKit/chromium/ChangeLog
r66812 r66818 1 2010-09-06 Anton Muhin <antonm@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 [v8] bypass caches when query memory usage from post GC and in crash handler. 6 https://bugs.webkit.org/show_bug.cgi?id=45036 7 8 Add Chromium-specific API to query actual memory usage which bypasses any caches. 9 10 * public/WebKitClient.h: 11 (WebKit::WebKitClient::actualMemoryUsageMB): 12 * src/ChromiumBridge.cpp: 13 (WebCore::ChromiumBridge::actualMemoryUsageMB): 14 1 15 2010-09-05 Peter Kasting <pkasting@google.com> 2 16 -
trunk/WebKit/chromium/public/WebKitClient.h
r66627 r66818 164 164 virtual size_t memoryUsageMB() { return 0; } 165 165 166 // Same as above, but always returns actual value, without any caches. 167 virtual size_t actualMemoryUsageMB() { return 0; } 168 166 169 167 170 // Message Ports ------------------------------------------------------- -
trunk/WebKit/chromium/src/ChromiumBridge.cpp
r66293 r66818 824 824 } 825 825 826 int ChromiumBridge::actualMemoryUsageMB() 827 { 828 return static_cast<int>(webKitClient()->actualMemoryUsageMB()); 829 } 830 826 831 int ChromiumBridge::screenDepth(Widget* widget) 827 832 {
Note: See TracChangeset
for help on using the changeset viewer.