Ignore:
Timestamp:
Sep 8, 2015, 6:28:22 PM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r189516.
https://bugs.webkit.org/show_bug.cgi?id=148989

broke tests on windows (Requested by alexchristensen on
#webkit).

Reverted changeset:

"GC should be able to discover new strong CodeBlock references
during marking"
https://bugs.webkit.org/show_bug.cgi?id=148981
http://trac.webkit.org/changeset/189516

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/heap/Heap.cpp

    r189516 r189524  
    526526
    527527#if ENABLE(DFG_JIT)
    528     DFG::clearCodeBlockMarks(*m_vm);
     528    DFG::clearCodeBlockMarks(*m_vm, m_codeBlocks);
    529529#endif
    530530    if (m_operationInProgress == EdenCollection)
     
    662662#if ENABLE(DFG_JIT)
    663663    for (auto worklist : m_suspendedCompilerWorklists)
    664         worklist->visitWeakReferences(m_slotVisitor);
     664        worklist->visitWeakReferences(m_slotVisitor, m_codeBlocks);
    665665
    666666    if (Options::logGC() == GCLogging::Verbose)
     
    769769        harvestWeakReferences();
    770770        visitCompilerWorklistWeakReferences();
     771        m_codeBlocks.traceMarked(m_slotVisitor); // New "executing" code blocks may be discovered.
    771772        if (m_slotVisitor.isEmpty())
    772773            break;
Note: See TracChangeset for help on using the changeset viewer.