1.1 --- a/src/share/vm/c1/c1_GraphBuilder.cpp Sun Mar 27 13:17:37 2011 -0700 1.2 +++ b/src/share/vm/c1/c1_GraphBuilder.cpp Mon Mar 28 03:58:07 2011 -0700 1.3 @@ -30,6 +30,7 @@ 1.4 #include "c1/c1_InstructionPrinter.hpp" 1.5 #include "ci/ciField.hpp" 1.6 #include "ci/ciKlass.hpp" 1.7 +#include "compiler/compileBroker.hpp" 1.8 #include "interpreter/bytecode.hpp" 1.9 #include "runtime/sharedRuntime.hpp" 1.10 #include "utilities/bitMap.inline.hpp" 1.11 @@ -3775,24 +3776,7 @@ 1.12 1.13 #ifndef PRODUCT 1.14 void GraphBuilder::print_inline_result(ciMethod* callee, bool res) { 1.15 - const char sync_char = callee->is_synchronized() ? 's' : ' '; 1.16 - const char exception_char = callee->has_exception_handlers() ? '!' : ' '; 1.17 - const char monitors_char = callee->has_monitor_bytecodes() ? 'm' : ' '; 1.18 - tty->print(" %c%c%c ", sync_char, exception_char, monitors_char); 1.19 - for (int i = 0; i < scope()->level(); i++) tty->print(" "); 1.20 - if (res) { 1.21 - tty->print(" "); 1.22 - } else { 1.23 - tty->print("- "); 1.24 - } 1.25 - tty->print("@ %d ", bci()); 1.26 - callee->print_short_name(); 1.27 - tty->print(" (%d bytes)", callee->code_size()); 1.28 - if (_inline_bailout_msg) { 1.29 - tty->print(" %s", _inline_bailout_msg); 1.30 - } 1.31 - tty->cr(); 1.32 - 1.33 + CompileTask::print_inlining(callee, scope()->level(), bci(), _inline_bailout_msg); 1.34 if (res && CIPrintMethodCodes) { 1.35 callee->print_codes(); 1.36 }