Ignore:
Timestamp:
Sep 17, 2013, 1:56:57 PM (12 years ago)
Author:
[email protected]
Message:

Don't GC while OSR compiling
https://bugs.webkit.org/show_bug.cgi?id=121513

Reviewed by Mark Hahnenberg.

Fixes some rare crashes that I see in ConservativeRoots, while in a GC from OSR exit
compilation.

  • dfg/DFGOSRExitCompiler.cpp:
  • ftl/FTLOSRExitCompiler.cpp:

(JSC::FTL::compileFTLOSRExit):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ftl/FTLOSRExitCompiler.cpp

    r155243 r155995  
    177177    VM* vm = &exec->vm();
    178178   
     179    // It's sort of preferable that we don't GC while in here. Anyways, doing so wouldn't
     180    // really be profitable.
     181    DeferGCForAWhile deferGC(vm->heap);
     182
    179183    OSRExit& exit = codeBlock->jitCode()->ftl()->osrExit[exitID];
    180184   
Note: See TracChangeset for help on using the changeset viewer.