Changeset 67111 in webkit
- Timestamp:
- Sep 9, 2010 1:49:44 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r67109 r67111 1 2010-09-09 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 Second part of the whole change: now use API introduced in 9 http://trac.webkit.org/changeset/66818 and now backed by Chromium. 10 11 * bindings/v8/V8DOMWindowShell.cpp: 12 (WebCore::reportFatalErrorInV8): 13 * bindings/v8/V8GCController.cpp: 14 (WebCore::V8GCController::gcEpilogue): 15 1 16 2010-09-09 Kwang Yul Seo <skyul@company100.net> 2 17 -
trunk/WebCore/bindings/v8/V8DOMWindowShell.cpp
r66840 r67111 86 86 int memoryUsageMB = -1; 87 87 #if PLATFORM(CHROMIUM) 88 memoryUsageMB = ChromiumBridge:: memoryUsageMB();88 memoryUsageMB = ChromiumBridge::actualMemoryUsageMB(); 89 89 #endif 90 90 printf("V8 error: %s (%s). Current memory usage: %d MB\n", message, location, memoryUsageMB); -
trunk/WebCore/bindings/v8/V8GCController.cpp
r61252 r67111 407 407 } 408 408 409 int getActualMemoryUsageInMB() 410 { 411 #if PLATFORM(CHROMIUM) 412 return ChromiumBridge::actualMemoryUsageMB(); 413 #else 414 return 0; 415 #endif 416 } 417 409 418 } // anonymous namespace 410 419 … … 418 427 visitActiveDOMObjectsInCurrentThread(&epilogueVisitor); 419 428 420 workingSetEstimateMB = get MemoryUsageInMB();429 workingSetEstimateMB = getActualMemoryUsageInMB(); 421 430 422 431 #ifndef NDEBUG
Note: See TracChangeset
for help on using the changeset viewer.