Changeset 118606 in webkit
- Timestamp:
- May 25, 2012, 11:39:29 PM (14 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
bindings/v8/V8GCController.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r118601 r118606 1 2012-05-25 Nat Duca <nduca@chromium.org> 2 3 [chromium] Instrument V8 GC with TraceEvent 4 https://bugs.webkit.org/show_bug.cgi?id=87530 5 6 Reviewed by Kentaro Hara. 7 8 We sometimes get performance issues where performance stalls can 9 be attributed to badly timed GC operations, especially ones that 10 happen just before a frame running. This adds tracing calls around 11 GC so that we can better understand these kinds of hangs. 12 13 * bindings/v8/V8GCController.cpp: 14 (WebCore::V8GCController::gcPrologue): 15 (WebCore::V8GCController::gcEpilogue): 16 1 17 2012-05-25 Garrett Casto <gcasto@chromium.org> 2 18 -
trunk/Source/WebCore/bindings/v8/V8GCController.cpp
r115595 r118606 60 60 #include <wtf/UnusedParam.h> 61 61 62 #if PLATFORM(CHROMIUM) 63 #include "TraceEvent.h" 64 #endif 65 62 66 namespace WebCore { 63 67 … … 390 394 v8::HandleScope scope; 391 395 396 #if PLATFORM(CHROMIUM) 397 TRACE_EVENT_BEGIN0("v8", "GC"); 398 #endif 399 392 400 #ifndef NDEBUG 393 401 DOMObjectVisitor domObjectVisitor; … … 510 518 enumerateGlobalHandles(); 511 519 #endif 520 521 #if PLATFORM(CHROMIUM) 522 TRACE_EVENT_END0("v8", "GC"); 523 #endif 512 524 } 513 525
Note:
See TracChangeset
for help on using the changeset viewer.