From: OpenJDK Team Date: Wed, 20 Jul 2022 16:04:41 +0000 (+0100) Subject: hotspot-disable-exec-shield-workaround X-Git-Tag: archive/raspbian/17.0.6+10-1+rpi1~1^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3108d1293653723dc8cc4fef56fbf6dbb5574df4;p=openjdk-17.git hotspot-disable-exec-shield-workaround Gbp-Pq: Name hotspot-disable-exec-shield-workaround.diff --- 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 53c21e6e7..0bcd0ddf5 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) && !defined(ZERO) +#if 0 assert(Linux::initial_thread_stack_bottom() != NULL, "sanity"); size_t page_size = os::vm_page_size();