From b701817f54d7926ce0ee04129f0d5921d9f2ccd1 Mon Sep 17 00:00:00 2001 From: OpenJDK Team Date: Thu, 26 Jan 2023 10:36:16 +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 9754cb707..3d16eb0aa 100644 --- a/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp +++ b/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp @@ -651,7 +651,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