--- old/src/cpu/sparc/vm/interp_masm_sparc.cpp 2014-09-08 15:36:17.901739020 +0200 +++ new/src/cpu/sparc/vm/interp_masm_sparc.cpp 2014-09-08 15:36:17.537739010 +0200 @@ -2407,8 +2407,8 @@ br_null_short(O0, Assembler::pn, overflow_with_error); // Has the nmethod been invalidated already? - ld(O0, nmethod::entry_bci_offset(), O2); - cmp_and_br_short(O2, InvalidOSREntryBci, Assembler::equal, Assembler::pn, overflow_with_error); + ldub(O0, nmethod::state_offset(), O2); + cmp_and_br_short(O2, 0, Assembler::notEqual, Assembler::pn, overflow_with_error); // migrate the interpreter frame off of the stack