diff --git a/src/share/vm/code/nmethod.cpp b/src/share/vm/code/nmethod.cpp index d529a1cbd3ee2a31e6ec49147d97a00e9d234ef3..9da564d277e0b69d71472b34bc41fd832727670f 100644 --- a/src/share/vm/code/nmethod.cpp +++ b/src/share/vm/code/nmethod.cpp @@ -971,7 +971,9 @@ void nmethod::print_on(outputStream* st, const char* title) const { ttyLocker ttyl; print_compilation(st, /*method_name*/NULL, title, method(), /*is_blocking*/false, - compile_id(), osr_entry_bci(), comp_level()); + compile_id(), + is_osr_method() ? osr_entry_bci() : InvocationEntryBci, + comp_level()); if (WizardMode) st->print(" (" INTPTR_FORMAT ")", this); } }