103 static void print_compilation_impl(outputStream* st, Method* method, int compile_id, int comp_level, |
103 static void print_compilation_impl(outputStream* st, Method* method, int compile_id, int comp_level, |
104 bool is_osr_method = false, int osr_bci = -1, bool is_blocking = false, |
104 bool is_osr_method = false, int osr_bci = -1, bool is_blocking = false, |
105 const char* msg = NULL, bool short_form = false); |
105 const char* msg = NULL, bool short_form = false); |
106 |
106 |
107 public: |
107 public: |
108 void print_compilation(outputStream* st = tty, bool short_form = false); |
108 void print_compilation(outputStream* st = tty, const char* msg = NULL, bool short_form = false); |
109 static void print_compilation(outputStream* st, const nmethod* nm, const char* msg = NULL, bool short_form = false) { |
109 static void print_compilation(outputStream* st, const nmethod* nm, const char* msg = NULL, bool short_form = false) { |
110 print_compilation_impl(st, nm->method(), nm->compile_id(), nm->comp_level(), |
110 print_compilation_impl(st, nm->method(), nm->compile_id(), nm->comp_level(), |
111 nm->is_osr_method(), nm->is_osr_method() ? nm->osr_entry_bci() : -1, /*is_blocking*/ false, |
111 nm->is_osr_method(), nm->is_osr_method() ? nm->osr_entry_bci() : -1, /*is_blocking*/ false, |
112 msg, short_form); |
112 msg, short_form); |
113 } |
113 } |