workaround_expand_exec_shield_cs_limit
authorOpenJDK Team <openjdk-17@packages.debian.org>
Thu, 26 Jan 2023 10:36:16 +0000 (10:36 +0000)
committerMatthias Klose <doko@ubuntu.com>
Thu, 26 Jan 2023 10:36:16 +0000 (10:36 +0000)
Gbp-Pq: Name workaround_expand_exec_shield_cs_limit.diff

src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp

index 9754cb707cec33ca6b2b03ffe4311ce31a58959d..3d16eb0aad2a8b6aa524d96fc64968872a96dade 100644 (file)
@@ -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();