8344205: [PPC]: failing assertion: sharedRuntime_ppc.cpp:1652: cookie not found

Reviewed-by: mdoerr
This commit is contained in:
Richard Reingruber 2024-11-18 08:18:15 +00:00
parent b6c2122efb
commit 4a7ce1d7c1

View File

@ -1602,7 +1602,6 @@ static void fill_continuation_entry(MacroAssembler* masm, Register reg_cont_obj,
#ifdef ASSERT
__ load_const_optimized(tmp2, ContinuationEntry::cookie_value());
__ stw(tmp2, in_bytes(ContinuationEntry::cookie_offset()), R1_SP);
__ std(tmp2, _abi0(cr), R1_SP);
#endif //ASSERT
__ li(zero, 0);
@ -1646,10 +1645,6 @@ static void continuation_enter_cleanup(MacroAssembler* masm) {
__ ld_ptr(tmp1, JavaThread::cont_entry_offset(), R16_thread);
__ cmpd(CCR0, R1_SP, tmp1);
__ asm_assert_eq(FILE_AND_LINE ": incorrect R1_SP");
__ load_const_optimized(tmp1, ContinuationEntry::cookie_value());
__ ld(tmp2, _abi0(cr), R1_SP);
__ cmpd(CCR0, tmp1, tmp2);
__ asm_assert_eq(FILE_AND_LINE ": cookie not found");
#endif
__ ld_ptr(tmp1, ContinuationEntry::parent_cont_fastpath_offset(), R1_SP);