From 530c07c5f332d2bce540acb181652f64457ec6c6 Mon Sep 17 00:00:00 2001 Date: Fri, 29 Nov 2024 16:00:40 +0800 Subject: Add Fix clear mark for NativeGotJump --- src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp b/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp index fe7461964..f9438c235 100644 --- a/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp +++ b/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp @@ -131,7 +131,7 @@ void NativePltCall::set_stub_to_clean() { NativeLoadGot* method_loader = nativeLoadGot_at(plt_c2i_stub()); NativeGotJump* jump = nativeGotJump_at(method_loader->next_instruction_address()); method_loader->set_data(0); - jump->set_jump_destination((address)-1); + jump->set_jump_destination((address)Universe::non_oop_word()); } void NativePltCall::verify() const { -- 2.22.0