src/os/linux/vm/os_linux.cpp
Index
Unified diffs
Context diffs
Sdiffs
Frames
Patch
New
Old
Previous File
Next File
*** old/src/os/linux/vm/os_linux.cpp Fri Jun 30 10:07:20 2017
--- new/src/os/linux/vm/os_linux.cpp Fri Jun 30 10:07:20 2017
*** 1636,1646 ****
--- 1636,1646 ----
// of the stack. If they are changed, the protection of the stack
// guard pages will be lost. We need a safepoint to fix this.
//
// See Linux man page execstack(8) for more info.
if (os::uses_stack_guard_pages() && !os::Linux::_stack_is_executable) {
! ElfFile ef(filename, false /* load_tables */);
if (!ef.specifies_noexecstack()) {
if (!is_init_completed()) {
os::Linux::_stack_is_executable = true;
// This is OK - No Java threads have been created yet, and hence no
// stack guard pages to fix.
src/os/linux/vm/os_linux.cpp
Index
Unified diffs
Context diffs
Sdiffs
Frames
Patch
New
Old
Previous File
Next File