Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index bf3b924f10a55f4152e85e76f7e6450ae988fc9a..32dc9677e6750c4dd446149ef5fa79ae41f1b008 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -1494,7 +1494,8 @@ static void ShutdownIsolate(uword parameter) { |
ASSERT(thread->isolate() == isolate); |
StackZone zone(thread); |
HandleScope handle_scope(thread); |
-#if defined(DEBUG) |
+ // TODO(27003): Enable for precompiled. |
+#if defined(DEBUG) && !defined(DART_PRECOMPILED_RUNTIME) |
if (!isolate->HasAttemptedReload()) { |
isolate->heap()->CollectAllGarbage(); |
VerifyCanonicalVisitor check_canonical(thread); |