8140582: aarch64: jvm fails to initialise after 8078556
authorenevill
Tue, 27 Oct 2015 10:08:48 +0000
changeset 33471 e70067b81b0b
parent 33470 0ce01b662ff2
child 33472 4300fda0e8bb
8140582: aarch64: jvm fails to initialise after 8078556 Summary: jvm fails to initialise on aarch64 systems with pagesize > 4K Reviewed-by: duke
hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp
--- 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);