Index: runtime/vm/heap.cc |
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc |
index b9a74c7b4b4fdbf3d5cc734f46fa73f20dac24ce..7ac86da73324fc885a56c873520b7ad3f219416f 100644 |
--- a/runtime/vm/heap.cc |
+++ b/runtime/vm/heap.cc |
@@ -562,6 +562,13 @@ ObjectSet* Heap::CreateAllocatedObjectSet( |
bool Heap::Verify(MarkExpectation mark_expectation) const { |
+// TODO(27373): Remove this test when the issue is fixed. |
+#if defined(ARCH_IS_64_BIT) |
+ if ((Dart::snapshot_kind() == Snapshot::kAppNoJIT) || |
+ (Dart::snapshot_kind() == Snapshot::kAppWithJIT)) { |
+ return true; |
+ } |
+#endif |
HeapIterationScope heap_iteration_scope; |
return VerifyGC(mark_expectation); |
} |