From 5ab0fb5432747fc34e7881c0dfbde993a51ae0a0 Mon Sep 17 00:00:00 2001 From: OpenJDK Team Date: Wed, 20 Jul 2022 17:04:41 +0100 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