Changeset 211693 in webkit
- Timestamp:
- Feb 5, 2017 8:03:34 PM (7 years ago)
- Location:
- branches/safari-603-branch/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-603-branch/Source/JavaScriptCore/ChangeLog
r211691 r211693 1 2017-02-02 Matthew Hanson <matthew_hanson@apple.com> 2 3 Merge r211486. rdar://problem/30167791 4 5 2017-02-01 Joseph Pecoraro <pecoraro@apple.com> 6 7 Web Inspector: Use guaranteed RunLoop instead of RunLoop::current for dispatching inspector GC event 8 https://bugs.webkit.org/show_bug.cgi?id=167683 9 <rdar://problem/30167791> 10 11 Reviewed by Timothy Hatcher. 12 13 * inspector/agents/InspectorHeapAgent.cpp: 14 (Inspector::SendGarbageCollectionEventsTask::SendGarbageCollectionEventsTask): 15 Use RunLoop::main instead of RunLoop::current which may go away. 16 17 * runtime/InitializeThreading.cpp: 18 (JSC::initializeThreading): 19 Ensure RunLoop::main is initialized when using JSC APIs. 20 1 21 2017-02-02 Matthew Hanson <matthew_hanson@apple.com> 2 22 -
branches/safari-603-branch/Source/JavaScriptCore/inspector/agents/InspectorHeapAgent.cpp
r209906 r211693 62 62 SendGarbageCollectionEventsTask::SendGarbageCollectionEventsTask(HeapFrontendDispatcher& frontendDispatcher) 63 63 : m_frontendDispatcher(frontendDispatcher) 64 , m_timer(RunLoop:: current(), this, &SendGarbageCollectionEventsTask::timerFired)64 , m_timer(RunLoop::main(), this, &SendGarbageCollectionEventsTask::timerFired) 65 65 { 66 66 } -
branches/safari-603-branch/Source/JavaScriptCore/runtime/InitializeThreading.cpp
r208306 r211693 33 33 #include "Heap.h" 34 34 #include "HeapStatistics.h" 35 #include "Options.h"36 35 #include "Identifier.h" 37 36 #include "JSDateMath.h" … … 39 38 #include "JSLock.h" 40 39 #include "LLIntData.h" 40 #include "Options.h" 41 41 #include "StructureIDTable.h" 42 42 #include "SuperSampler.h" … … 44 44 #include <mutex> 45 45 #include <wtf/MainThread.h> 46 #include <wtf/RunLoop.h> 46 47 #include <wtf/Threading.h> 47 48 #include <wtf/dtoa.h> … … 60 61 WTF::initializeThreading(); 61 62 WTF::initializeGCThreads(); 63 RunLoop::initializeMainRunLoop(); 62 64 Options::initialize(); 63 65 if (Options::recordGCPauseTimes())
Note: See TracChangeset
for help on using the changeset viewer.