Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: runtime/vm/heap.cc

Issue 2348793004: Skip heap verify on 64-bit with an app snapshot (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698