Merge branch 'JDK-8134940' of https://github.com/theRealAph/jdk into JDK-8134940

This commit is contained in:
Andrew Haley 2026-07-16 11:30:32 +01:00
commit d3a2dbc654

View File

@ -678,9 +678,9 @@ void Runtime1::generate_unwind_exception(StubAssembler *sasm) {
// verify that there is really a valid exception in rax
__ verify_not_null_oop(exception_oop);
__ restore_profile_rng();
__ restore_profile_rng();
// get throwing pc (= return address).
// get throwing pc (= return address).
// rdx has been destroyed by the call, so it must be set again
// the pop is also necessary to simulate the effect of a ret(0)
__ pop(exception_pc);