8140582: aarch64: jvm fails to initialise after 8078556
Summary: jvm fails to initialise on aarch64 systems with pagesize > 4K
Reviewed-by: duke
--- a/hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp Tue Oct 27 01:45:01 2015 -0400
+++ b/hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp Tue Oct 27 10:08:48 2015 +0000
@@ -59,9 +59,9 @@
#define DEFAULT_STACK_RED_PAGES (1)
#define DEFAULT_STACK_SHADOW_PAGES (4 DEBUG_ONLY(+5))
-#define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES
-#define MIN_STACK_RED_PAGES DEFAULT_STACK_RED_PAGES
-#define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
+#define MIN_STACK_YELLOW_PAGES 1
+#define MIN_STACK_RED_PAGES 1
+#define MIN_STACK_SHADOW_PAGES 1
define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);
define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES);