1
# DP: Hotspot: disable Exec Shield workaround (JDK-8023956).
2
# DP: This workaround interacts badly with kernel changes to enlarge the stack
3
# DP: gap, causing applications using JNI to crash (Debian bug #865303).
4
# DP: Debian has never applied the Exec Shield patches.
5
Index: openjdk/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
6
===================================================================
7
--- openjdk/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
8
+++ openjdk/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
9
@@ -880,7 +880,7 @@ void os::verify_stack_alignment() {
10
* updates (JDK-8023956).
12
void os::workaround_expand_exec_shield_cs_limit() {
13
-#if defined(IA32) && !defined(ZERO)
15
size_t page_size = os::vm_page_size();
17
* Take the highest VA the OS will give us and exec