Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index eec024f3fd1acc1b735913ec87073f0396cab109..81ba7df1eb63e747f82de2ab0f13383f90d22d86 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -962,6 +962,8 @@ TEST(TestCodeFlushing) { |
i::FLAG_allow_natives_syntax = true; |
// If we do not flush code this test is invalid. |
if (!FLAG_flush_code) return; |
+ // Code flushing does not work predictably with parallel marking. |
+ if (FLAG_parallel_marking) return; |
InitializeVM(); |
v8::HandleScope scope; |
const char* source = "function foo() {" |