Changeset 211693 in webkit


Ignore:
Timestamp:
Feb 5, 2017 8:03:34 PM (7 years ago)
Author:
matthew_hanson@apple.com
Message:

Merge r211486. rdar://problem/30167791

Location:
branches/safari-603-branch/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-603-branch/Source/JavaScriptCore/ChangeLog

    r211691 r211693  
     12017-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
    1212017-02-02  Matthew Hanson  <matthew_hanson@apple.com>
    222
  • branches/safari-603-branch/Source/JavaScriptCore/inspector/agents/InspectorHeapAgent.cpp

    r209906 r211693  
    6262SendGarbageCollectionEventsTask::SendGarbageCollectionEventsTask(HeapFrontendDispatcher& frontendDispatcher)
    6363    : m_frontendDispatcher(frontendDispatcher)
    64     , m_timer(RunLoop::current(), this, &SendGarbageCollectionEventsTask::timerFired)
     64    , m_timer(RunLoop::main(), this, &SendGarbageCollectionEventsTask::timerFired)
    6565{
    6666}
  • branches/safari-603-branch/Source/JavaScriptCore/runtime/InitializeThreading.cpp

    r208306 r211693  
    3333#include "Heap.h"
    3434#include "HeapStatistics.h"
    35 #include "Options.h"
    3635#include "Identifier.h"
    3736#include "JSDateMath.h"
     
    3938#include "JSLock.h"
    4039#include "LLIntData.h"
     40#include "Options.h"
    4141#include "StructureIDTable.h"
    4242#include "SuperSampler.h"
     
    4444#include <mutex>
    4545#include <wtf/MainThread.h>
     46#include <wtf/RunLoop.h>
    4647#include <wtf/Threading.h>
    4748#include <wtf/dtoa.h>
     
    6061        WTF::initializeThreading();
    6162        WTF::initializeGCThreads();
     63        RunLoop::initializeMainRunLoop();
    6264        Options::initialize();
    6365        if (Options::recordGCPauseTimes())
Note: See TracChangeset for help on using the changeset viewer.