--- old/src/cpu/ppc/vm/interp_masm_ppc_64.cpp 2014-09-08 15:36:17.885739020 +0200 +++ new/src/cpu/ppc/vm/interp_masm_ppc_64.cpp 2014-09-08 15:36:17.509739009 +0200 @@ -1166,9 +1166,9 @@ beq(CCR0, overflow_with_error); // Has the nmethod been invalidated already? - lwz(Rtmp, nmethod::entry_bci_offset(), R3_RET); - cmpwi(CCR0, Rtmp, InvalidOSREntryBci); - beq(CCR0, overflow_with_error); + lbz(Rtmp, nmethod::state_offset(), R3_RET); + cmpwi(CCR0, Rtmp, 0); + bne(CCR0, overflow_with_error); // Migrate the interpreter frame off of the stack. // We can use all registers because we will not return to interpreter from this point.