From 5fc04e4b900f974d5d334b1165668bddc90a86f6 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 24 Apr 2025 11:21:34 -0300 Subject: java/openjdk24: Upgrade to version 24.0.1+9.1 Remove src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp patch; it was upstreamed. Reviewed by: emaste, glewis, jrm Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49996 --- ...h-src_hotspot_os__cpu_bsd__ppc_os__bsd__ppc.cpp | 44 ---------------------- 1 file changed, 44 deletions(-) delete mode 100644 java/openjdk24/files/patch-src_hotspot_os__cpu_bsd__ppc_os__bsd__ppc.cpp (limited to 'java/openjdk24/files') diff --git a/java/openjdk24/files/patch-src_hotspot_os__cpu_bsd__ppc_os__bsd__ppc.cpp b/java/openjdk24/files/patch-src_hotspot_os__cpu_bsd__ppc_os__bsd__ppc.cpp deleted file mode 100644 index dda6fd26cce0..000000000000 --- a/java/openjdk24/files/patch-src_hotspot_os__cpu_bsd__ppc_os__bsd__ppc.cpp +++ /dev/null @@ -1,44 +0,0 @@ ---- src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp.orig 2024-04-11 22:23:08 UTC -+++ src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp -@@ -61,6 +61,7 @@ - # include - # include - # include -+# include - # include - # include - # include -@@ -432,6 +433,33 @@ size_t os::Posix::default_stack_size(os::ThreadType th - // Default stack size (compiler thread needs larger stack). - size_t s = (thr_type == os::compiler_thread ? 4 * M : 1024 * K); - return s; -+} -+ -+void os::current_stack_base_and_size(address* base, size_t* size) { -+ address bottom; -+ pthread_attr_t attr; -+ -+ int rslt = pthread_attr_init(&attr); -+ -+ // JVM needs to know exact stack location, abort if it fails -+ if (rslt != 0) -+ fatal("pthread_attr_init failed with error = %d", rslt); -+ -+ rslt = pthread_attr_get_np(pthread_self(), &attr); -+ -+ if (rslt != 0) -+ fatal("pthread_attr_get_np failed with error = %d", rslt); -+ -+ if (pthread_attr_getstackaddr(&attr, (void **)&bottom) != 0 || -+ pthread_attr_getstacksize(&attr, size) != 0) { -+ fatal("Can not locate current stack attributes!"); -+ } -+ -+ *base = bottom + *size; -+ -+ pthread_attr_destroy(&attr); -+ assert(os::current_stack_pointer() >= bottom && -+ os::current_stack_pointer() < *base, "just checking"); - } - - ///////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3