From a7ed63cae203a75bde3bc9e6aa5a9780da20fe83 Mon Sep 17 00:00:00 2001 From: OpenJDK Team Date: Fri, 11 Nov 2022 07:39:25 +0000 Subject: [PATCH] workaround_expand_exec_shield_cs_limit Gbp-Pq: Name workaround_expand_exec_shield_cs_limit.diff --- src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp b/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp index cc71b0d27..53c21e6e7 100644 --- a/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp +++ b/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp @@ -635,7 +635,7 @@ void os::verify_stack_alignment() { * updates (JDK-8023956). */ void os::workaround_expand_exec_shield_cs_limit() { -#if defined(IA32) +#if defined(IA32) && !defined(ZERO) assert(Linux::initial_thread_stack_bottom() != NULL, "sanity"); size_t page_size = os::vm_page_size(); -- 2.30.2