Index: runtime/vm/heap_test.cc |
diff --git a/runtime/vm/heap_test.cc b/runtime/vm/heap_test.cc |
index ad01502a8829c7aae27f80ac502e51e9eda675cc..79c0ca983c6993aabf096fe84ee23ef0ce3e719e 100644 |
--- a/runtime/vm/heap_test.cc |
+++ b/runtime/vm/heap_test.cc |
@@ -12,8 +12,6 @@ |
namespace dart { |
-DECLARE_FLAG(int, marker_tasks); |
- |
TEST_CASE(OldGC) { |
const char* kScriptChars = |
"main() {\n" |
@@ -32,7 +30,7 @@ TEST_CASE(OldGC) { |
heap->CollectGarbage(Heap::kOld); |
} |
- |
+#if !defined(PRODUCT) |
TEST_CASE(OldGC_Unsync) { |
FLAG_marker_tasks = 0; |
const char* kScriptChars = |
@@ -51,7 +49,7 @@ TEST_CASE(OldGC_Unsync) { |
Heap* heap = isolate->heap(); |
heap->CollectGarbage(Heap::kOld); |
} |
- |
+#endif |
TEST_CASE(LargeSweep) { |
const char* kScriptChars = |