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

Unified Diff: runtime/vm/isolate.cc

Issue 2490233004: - Turn on canonicalization verification after a reload in debug mode. (Closed)
Patch Set: Created 4 years, 1 month 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/tests/vm/vm.status ('k') | runtime/vm/isolate_reload.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index bfc902e85776978b49e2a72929db3d9f3a2f5e5f..093e84d1a4d583f032f4cc79893f73aeacd5efdb 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -1122,16 +1122,6 @@ bool Isolate::ReloadSources(JSONStream* js,
if (!dont_delete_reload_context) {
DeleteReloadContext();
}
-#if defined(DEBUG)
- if (success) {
- return success;
- Thread* thread = Thread::Current();
- Isolate* isolate = thread->isolate();
- isolate->heap()->CollectAllGarbage();
- VerifyCanonicalVisitor check_canonical(thread);
- isolate->heap()->IterateObjects(&check_canonical);
- }
-#endif // DEBUG
return success;
}
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | runtime/vm/isolate_reload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698