Changeset 155457 in webkit for trunk/Source/JavaScriptCore


Ignore:
Timestamp:
Sep 10, 2013, 11:29:45 AM (12 years ago)
Author:
[email protected]
Message:

Don't GC while in the OSR-triggered jettison code
https://bugs.webkit.org/show_bug.cgi?id=121106

Reviewed by Mark Hahnenberg.

  • dfg/DFGOperations.cpp:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r155455 r155457  
     12013-09-10  Filip Pizlo  <[email protected]>
     2
     3        Don't GC while in the OSR-triggered jettison code
     4        https://bugs.webkit.org/show_bug.cgi?id=121106
     5
     6        Reviewed by Mark Hahnenberg.
     7
     8        * dfg/DFGOperations.cpp:
     9
    1102013-09-10  Filip Pizlo  <[email protected]>
    211
  • trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp

    r155243 r155457  
    19851985extern "C" void DFG_OPERATION triggerReoptimizationNow(CodeBlock* codeBlock)
    19861986{
     1987    // It's sort of preferable that we don't GC while in here. Anyways, doing so wouldn't
     1988    // really be profitable.
     1989    DeferGCForAWhile deferGC(codeBlock->vm()->heap);
     1990   
    19871991    if (Options::verboseOSR())
    19881992        dataLog(*codeBlock, ": Entered reoptimize\n");
Note: See TracChangeset for help on using the changeset viewer.