Title: [155457] trunk/Source/_javascript_Core
Revision
155457
Author
[email protected]
Date
2013-09-10 11:29:45 -0700 (Tue, 10 Sep 2013)

Log 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:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (155456 => 155457)


--- trunk/Source/_javascript_Core/ChangeLog	2013-09-10 17:55:52 UTC (rev 155456)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-09-10 18:29:45 UTC (rev 155457)
@@ -1,5 +1,14 @@
 2013-09-10  Filip Pizlo  <[email protected]>
 
+        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:
+
+2013-09-10  Filip Pizlo  <[email protected]>
+
         jsc commandline's run() function should take extra arguments
         https://bugs.webkit.org/show_bug.cgi?id=121098
 

Modified: trunk/Source/_javascript_Core/dfg/DFGOperations.cpp (155456 => 155457)


--- trunk/Source/_javascript_Core/dfg/DFGOperations.cpp	2013-09-10 17:55:52 UTC (rev 155456)
+++ trunk/Source/_javascript_Core/dfg/DFGOperations.cpp	2013-09-10 18:29:45 UTC (rev 155457)
@@ -1984,6 +1984,10 @@
 
 extern "C" void DFG_OPERATION triggerReoptimizationNow(CodeBlock* codeBlock)
 {
+    // It's sort of preferable that we don't GC while in here. Anyways, doing so wouldn't
+    // really be profitable.
+    DeferGCForAWhile deferGC(codeBlock->vm()->heap);
+    
     if (Options::verboseOSR())
         dataLog(*codeBlock, ": Entered reoptimize\n");
     // We must be called with the baseline code block.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to