[aarch64-port-dev ] RFR(XXS) JDK-8154379: MIN_STACK_SHADOW_PAGES should equal DEFAULT_STACK_SHADOW_PAGES on aarch64

Chris Plummer chris.plummer at oracle.com
Tue Apr 19 16:25:42 UTC 2016


Hello,

Please review the following diff. I would appreciate it if someone could 
verify that the open aarch64 port still runs properly after this change. 
Testing with just "bin/java" should be enough.

https://bugs.openjdk.java.net/browse/JDK-8154379

diff --git a/src/cpu/aarch64/vm/globals_aarch64.hpp 
b/src/cpu/aarch64/vm/globals_aarch64.hpp
--- a/src/cpu/aarch64/vm/globals_aarch64.hpp
+++ b/src/cpu/aarch64/vm/globals_aarch64.hpp
@@ -50,7 +50,7 @@

  #define MIN_STACK_YELLOW_PAGES 1
  #define MIN_STACK_RED_PAGES    1
-#define MIN_STACK_SHADOW_PAGES 1
+#define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
  #define MIN_STACK_RESERVED_PAGES (0)

  define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);

thanks,

Chris


More information about the aarch64-port-dev mailing list