8051712: regression Test7107135 crashes
authorcjplummer
Tue, 26 May 2015 11:26:50 -0700
changeset 30865 22f923339f58
parent 30863 6a99d43b04e5
child 30866 ae72977a5977
8051712: regression Test7107135 crashes Summary: On AARCH64, make ElfFile::specifies_noexecstack() default to noexectstack Reviewed-by: dholmes, dlong, aph
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