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

Unified Diff: runtime/vm/snapshot.cc

Issue 1953673004: Remove unnecessary full GCs before snapshot creation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 | « runtime/vm/dart_api_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.cc
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
index 538701d3c96b377efbbbc61843b48043ed90bce7..aacef7f31f8719c2f8e596eb2d19941a74f39bc9 100644
--- a/runtime/vm/snapshot.cc
+++ b/runtime/vm/snapshot.cc
@@ -2037,6 +2037,7 @@ FullSnapshotWriter::FullSnapshotWriter(Snapshot::Kind kind,
#if defined(DEBUG)
isolate()->ValidateClassTable();
#endif
+ ASSERT(isolate()->background_compiler() == NULL);
// Collect all the script objects and their accompanying token stream objects
// into an array so that we can write it out as part of the VM isolate
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698