mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
8023956: Provide a work-around to broken Linux 32 bit "Exec Shield" using CS for NX emulation (crashing with SI_KERNEL)
Execute some code at a high virtual address value, and keep mapped Reviewed-by: coleenp, zgu
This commit is contained in:
parent
522051490c
commit
d5157be0e8
3 changed files with 60 additions and 0 deletions
|
@ -4839,6 +4839,10 @@ jint os::init_2(void)
|
|||
|
||||
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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue