workaround_expand_exec_shield_cs_limit
authorOpenJDK Team <openjdk-17@packages.debian.org>
Wed, 20 Jul 2022 16:04:41 +0000 (17:04 +0100)
committerMatthias Klose <doko@ubuntu.com>
Wed, 20 Jul 2022 16:04:41 +0000 (17:04 +0100)
Gbp-Pq: Name workaround_expand_exec_shield_cs_limit.diff

src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp

index cc71b0d278019bf95142c995b2ac504a9e41c473..53c21e6e74c694ef27787838b00986d19b3a7712 100644 (file)
@@ -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();