Mercurial > hg > graal-jvmci-8
diff src/os/linux/vm/os_linux.cpp @ 12313:899ecf76b570
8023956: Provide a work-around to broken Linux 32 bit "Exec Shield" using CS for NX emulation (crashing with SI_KERNEL)
Summary: Execute some code at a high virtual address value, and keep mapped
Reviewed-by: coleenp, zgu
author | dsimms |
---|---|
date | Wed, 25 Sep 2013 13:58:13 +0200 |
parents | 06ae47d9d088 |
children | cefad50507d8 aa6f2ea19d8f |
line wrap: on
line diff
--- a/src/os/linux/vm/os_linux.cpp Mon Sep 23 08:56:19 2013 -0700 +++ b/src/os/linux/vm/os_linux.cpp Wed Sep 25 13:58:13 2013 +0200 @@ -4839,6 +4839,10 @@ Linux::capture_initial_stack(JavaThread::stack_size_at_create()); +#if defined(IA32) + workaround_expand_exec_shield_cs_limit(); +#endif + Linux::libpthread_init(); if (PrintMiscellaneous && (Verbose || WizardMode)) { tty->print_cr("[HotSpot is running with %s, %s(%s)]\n",