--- old/src/share/vm/interpreter/bytecodeInterpreter.cpp 2014-09-08 15:36:17.817739018 +0200 +++ new/src/share/vm/interpreter/bytecodeInterpreter.cpp 2014-09-08 15:36:17.553739010 +0200 @@ -330,7 +330,7 @@ if (do_OSR) { \ nmethod* osr_nmethod; \ OSR_REQUEST(osr_nmethod, branch_pc); \ - if (osr_nmethod != NULL && osr_nmethod->osr_entry_bci() != InvalidOSREntryBci) { \ + if (osr_nmethod != NULL && osr_nmethod->is_in_use()) { \ intptr_t* buf; \ /* Call OSR migration with last java frame only, no checks. */ \ CALL_VM_NAKED_LJF(buf=SharedRuntime::OSR_migration_begin(THREAD)); \