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

Unified Diff: runtime/vm/isolate_reload.cc

Issue 2149993006: DBC: Make unoptimized static calls call through ICData (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 4 years, 5 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/intermediate_language_dbc.cc ('k') | runtime/vm/simulator_dbc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate_reload.cc
diff --git a/runtime/vm/isolate_reload.cc b/runtime/vm/isolate_reload.cc
index 28decdec036b8719c2cbfd28cda68ef7c4dc008d..7f8018b69d5b73cd745f61645bd511b936d5a80e 100644
--- a/runtime/vm/isolate_reload.cc
+++ b/runtime/vm/isolate_reload.cc
@@ -737,6 +737,7 @@ void IsolateReloadContext::PostCommit() {
set_saved_root_library(Library::Handle());
set_saved_libraries(GrowableObjectArray::Handle());
InvalidateWorld();
+ TIR_Print("---- DONE COMMIT\n");
}
@@ -909,6 +910,8 @@ class MarkFunctionsForRecompilation : public ObjectVisitor {
if (!stub_code) {
if (clear_code) {
+ VTIR_Print("Marking %s for recompilation, clearning code\n",
+ func.ToCString());
ClearAllCode(func);
} else {
PreserveUnoptimizedCode();
@@ -954,6 +957,7 @@ class MarkFunctionsForRecompilation : public ObjectVisitor {
void IsolateReloadContext::MarkAllFunctionsForRecompilation() {
TIMELINE_SCOPE(MarkAllFunctionsForRecompilation);
+ TIR_Print("---- MARKING ALL FUNCTIONS FOR RECOMPILATION\n");
NoSafepointScope no_safepoint;
HeapIterationScope heap_iteration_scope;
MarkFunctionsForRecompilation visitor(isolate_, this);
@@ -962,6 +966,7 @@ void IsolateReloadContext::MarkAllFunctionsForRecompilation() {
void IsolateReloadContext::InvalidateWorld() {
+ TIR_Print("---- INVALIDATING WORLD\n");
ResetMegamorphicCaches();
DeoptimizeFunctionsOnStack();
ResetUnoptimizedICsOnStack();
« no previous file with comments | « runtime/vm/intermediate_language_dbc.cc ('k') | runtime/vm/simulator_dbc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698