Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
12292:084b21cd0228 | 12313:899ecf76b570 |
---|---|
4836 // the yellow/red zones can be guarded. | 4836 // the yellow/red zones can be guarded. |
4837 JavaThread::set_stack_size_at_create(round_to(threadStackSizeInBytes, | 4837 JavaThread::set_stack_size_at_create(round_to(threadStackSizeInBytes, |
4838 vm_page_size())); | 4838 vm_page_size())); |
4839 | 4839 |
4840 Linux::capture_initial_stack(JavaThread::stack_size_at_create()); | 4840 Linux::capture_initial_stack(JavaThread::stack_size_at_create()); |
4841 | |
4842 #if defined(IA32) | |
4843 workaround_expand_exec_shield_cs_limit(); | |
4844 #endif | |
4841 | 4845 |
4842 Linux::libpthread_init(); | 4846 Linux::libpthread_init(); |
4843 if (PrintMiscellaneous && (Verbose || WizardMode)) { | 4847 if (PrintMiscellaneous && (Verbose || WizardMode)) { |
4844 tty->print_cr("[HotSpot is running with %s, %s(%s)]\n", | 4848 tty->print_cr("[HotSpot is running with %s, %s(%s)]\n", |
4845 Linux::glibc_version(), Linux::libpthread_version(), | 4849 Linux::glibc_version(), Linux::libpthread_version(), |