# HG changeset patch # User cjplummer # Date 1432664810 25200 # Node ID 22f923339f58a932d06c63173b8fddb8fcc31239 # Parent 6a99d43b04e5eabe3eec9d512a40b01042147eba 8051712: regression Test7107135 crashes Summary: On AARCH64, make ElfFile::specifies_noexecstack() default to noexectstack Reviewed-by: dholmes, dlong, aph diff -r 6a99d43b04e5 -r 22f923339f58 hotspot/src/share/vm/utilities/elfFile.cpp --- a/hotspot/src/share/vm/utilities/elfFile.cpp Fri May 22 02:38:59 2015 +0300 +++ b/hotspot/src/share/vm/utilities/elfFile.cpp Tue May 26 11:26:50 2015 -0700 @@ -261,7 +261,12 @@ } } } +// AARCH64 defaults to noexecstack. All others default to execstack. +#ifdef AARCH64 + return true; +#else return false; +#endif } #endif