From e35849437da6ec1000a24d1af2030c132120f8fb Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 17 Aug 2023 02:17:25 +0100 Subject: [PATCH] Fix iOS patches --- patches/jdk17u_ios.diff | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/patches/jdk17u_ios.diff b/patches/jdk17u_ios.diff index feece9b7..e46f62e2 100644 --- a/patches/jdk17u_ios.diff +++ b/patches/jdk17u_ios.diff @@ -435,19 +435,6 @@ index 1c0a0f9a8..16bbb0322 100644 LIBS_windows := $(LIBCXX), \ LIBS_linux := -ldl, \ MANIFEST := $(JAVA_MANIFEST), \ -diff --git a/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp b/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp -index d808e4b5b..7c802d8f1 100644 ---- a/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp -+++ b/src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp -@@ -40,6 +40,8 @@ - #include "c1/c1_Runtime1.hpp" - #endif - -+#include -+ - void NativeCall::verify() { - assert(NativeCall::is_call_at((address)this), "unexpected code at call site"); - } diff --git a/src/hotspot/os/bsd/gc/z/zPhysicalMemoryBacking_bsd.cpp b/src/hotspot/os/bsd/gc/z/zPhysicalMemoryBacking_bsd.cpp index ea9a54bcb..2edbdb89b 100644 --- a/src/hotspot/os/bsd/gc/z/zPhysicalMemoryBacking_bsd.cpp @@ -541,16 +528,22 @@ diff --git a/src/hotspot/os/posix/signals_posix.cpp b/src/hotspot/os/posix/signa index 895c3cc09..b77c925ba 100644 --- a/src/hotspot/os/posix/signals_posix.cpp +++ b/src/hotspot/os/posix/signals_posix.cpp -@@ -40,6 +40,9 @@ - #include "utilities/ostream.hpp" - #include "utilities/vmError.hpp" +@@ -25,6 +25,7 @@ + #include "precompiled.hpp" + #include "jvm.h" +#include "code/codeCache.hpp" + #include "logging/log.hpp" + #include "runtime/atomic.hpp" + #include "runtime/globals.hpp" +@@ -41,6 +42,7 @@ + #include "utilities/vmError.hpp" + + #include +#include -+ - #ifdef ZERO - // See stubGenerator_zero.cpp - #include + + + static const char* get_signal_name(int sig, char* out, size_t outlen); @@ -584,6 +587,26 @@ int JVM_HANDLE_XXX_SIGNAL(int sig, siginfo_t* info, ucontext_t* const uc = (ucontext_t*) ucVoid; Thread* const t = Thread::current_or_null_safe();