Index: runtime/vm/isolate_reload.cc |
diff --git a/runtime/vm/isolate_reload.cc b/runtime/vm/isolate_reload.cc |
index 28decdec036b8719c2cbfd28cda68ef7c4dc008d..6617a312acfb071cc56ca5cb6a0fa41f8a90a38a 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) { |
+ TIR_Print("Marking %s for recompilation, clearning code\n", |
Cutch
2016/07/18 13:40:03
DBC:
Use VTIR_Print here (V == verbose)
zra
2016/07/18 17:38:47
Done.
|
+ 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(); |