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