Skip to content
Permalink
Browse files
8263775: C2: igv_print() crash unexpectedly when called from debugger
Reviewed-by: chagedorn
  • Loading branch information
Yi Yang authored and chhagedorn committed Mar 18, 2021
1 parent 63eae8f commit 3f31a6baa908456cb3235bb97818926343b75f31
Showing 1 changed file with 2 additions and 2 deletions.
@@ -4797,7 +4797,7 @@ void Compile::igv_print_method_to_file(const char* phase_name, bool append) {
_debug_file_printer->update_compiled_method(C->method());
}
tty->print_cr("Method %s to %s", append ? "appended" : "printed", file_name);
_debug_file_printer->print_method(phase_name, 0);
_debug_file_printer->print(phase_name, (Node*)C->root());
}

void Compile::igv_print_method_to_network(const char* phase_name) {
@@ -4807,7 +4807,7 @@ void Compile::igv_print_method_to_network(const char* phase_name) {
_debug_network_printer->update_compiled_method(C->method());
}
tty->print_cr("Method printed over network stream to IGV");
_debug_network_printer->print_method(phase_name, 0);
_debug_network_printer->print(phase_name, (Node*)C->root());
}
#endif

0 comments on commit 3f31a6b

Please sign in to comment.