Revision: 12723
Author:   [email protected]
Date:     Mon Oct 15 02:25:30 2012
Log:      Ensure code flushing is disabled in incremental marking.

This fixes some test failures since r12714 which shared the code for
code flushing between full and incremental marking and is only a quick
fix until we can enable incremental code flushing.

[email protected]
BUG=v8:1609

Review URL: https://codereview.chromium.org/11137014
http://code.google.com/p/v8/source/detail?r=12723

Modified:
 /branches/bleeding_edge/src/mark-compact.cc

=======================================
--- /branches/bleeding_edge/src/mark-compact.cc Fri Oct 12 05:41:29 2012
+++ /branches/bleeding_edge/src/mark-compact.cc Mon Oct 15 02:25:30 2012
@@ -2003,6 +2003,9 @@
   // Flush code from collected candidates.
   if (is_code_flushing_enabled()) {
     code_flusher_->ProcessCandidates();
+ // TODO(1609) Currently incremental marker does not support code flushing, + // we need to disable it before incremental marking steps for next cycle.
+    EnableCodeFlushing(false);
   }

   if (!FLAG_watch_ic_patching) {

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to