Changeset 192775 in webkit
- Timestamp:
- Nov 27, 2015 12:37:44 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r192772 r192775 1 2015-11-27 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] Do not use the WebCore garbage collector timer 4 https://bugs.webkit.org/show_bug.cgi?id=151623 5 6 Reviewed by Martin Robinson. 7 8 Now that garbage collector timers have been implemented in 9 JavaScriptCore for glib, we don't need to use another Timer in WebCore. 10 11 * bindings/js/GCController.cpp: 12 (WebCore::GCController::garbageCollectSoon): 13 (WebCore::GCController::garbageCollectNowIfNotDoneRecently): 14 1 15 2015-11-18 Andy Estes <aestes@apple.com> 2 16 -
trunk/Source/WebCore/bindings/js/GCController.cpp
r188394 r192775 58 58 void GCController::garbageCollectSoon() 59 59 { 60 // We only use reportAbandonedObjectGraph on systems with CoreFoundation 61 // since it uses a run-loop-based timer that is currently only available on 62 // systems with CoreFoundation. If and when the notion of a run loop is pushed 63 // down into WTF so that more platforms can take advantage of it, we will be 64 // able to use reportAbandonedObjectGraph on more platforms. 65 #if USE(CF) 60 // We only use reportAbandonedObjectGraph for systems for which there's an implementation 61 // of the garbage collector timers in JavaScriptCore. We wouldn't need this if JavaScriptCore 62 // used a timer implementation from WTF like RunLoop::Timer. 63 #if USE(CF) || USE(GLIB) 66 64 JSLockHolder lock(JSDOMWindow::commonVM()); 67 65 JSDOMWindow::commonVM().heap.reportAbandonedObjectGraph(); … … 93 91 void GCController::garbageCollectNowIfNotDoneRecently() 94 92 { 95 #if USE(CF) 93 #if USE(CF) || USE(GLIB) 96 94 JSLockHolder lock(JSDOMWindow::commonVM()); 97 95 if (!JSDOMWindow::commonVM().heap.isBusy())
Note: See TracChangeset
for help on using the changeset viewer.