From 2f1b0f96ba81d0e0c102bf0be8def067f6031ac5 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Thu, 16 Jul 2026 10:25:26 +0100 Subject: [PATCH 1/2] Update src/hotspot/cpu/x86/c1_Runtime1_x86.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Aleksey Shipilëv --- src/hotspot/cpu/x86/c1_Runtime1_x86.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/x86/c1_Runtime1_x86.cpp b/src/hotspot/cpu/x86/c1_Runtime1_x86.cpp index d2d2bf8ffe6..ccf1b92d73f 100644 --- a/src/hotspot/cpu/x86/c1_Runtime1_x86.cpp +++ b/src/hotspot/cpu/x86/c1_Runtime1_x86.cpp @@ -680,7 +680,7 @@ void Runtime1::generate_unwind_exception(StubAssembler *sasm) { __ 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); From 8993c209ea8dcea5738e9a2f0e6f9093720b458c Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Thu, 16 Jul 2026 11:28:44 +0100 Subject: [PATCH 2/2] Update src/hotspot/cpu/x86/c1_Runtime1_x86.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Aleksey Shipilëv --- src/hotspot/cpu/x86/c1_Runtime1_x86.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/x86/c1_Runtime1_x86.cpp b/src/hotspot/cpu/x86/c1_Runtime1_x86.cpp index ccf1b92d73f..5d1c9400797 100644 --- a/src/hotspot/cpu/x86/c1_Runtime1_x86.cpp +++ b/src/hotspot/cpu/x86/c1_Runtime1_x86.cpp @@ -678,7 +678,7 @@ 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). // rdx has been destroyed by the call, so it must be set again