changeset 12638:5fdcab5b7979

Merge
author jwilhelm
date Wed, 01 Feb 2017 00:56:16 +0100
parents b07ef472634f 3db03a3709f4
children b6f61bfa87dd
files
diffstat 3 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/.hgtags	Tue Jan 31 14:33:36 2017 -0800
+++ b/.hgtags	Wed Feb 01 00:56:16 2017 +0100
@@ -556,3 +556,4 @@
 2a2ac7d9f52c8cb2b80077e515b5840b947e640c jdk-9+151
 31f1d26c60df7b2e516a4f84160d76ba017d4e09 jdk-9+152
 217ba81b9a4ce8698200370175aa2db86a39f66c jdk-9+153
+a9fdfd55835ef9dccb7f317b07249bd66653b874 jdk-9+154
--- a/src/cpu/aarch64/vm/globals_aarch64.hpp	Tue Jan 31 14:33:36 2017 -0800
+++ b/src/cpu/aarch64/vm/globals_aarch64.hpp	Wed Feb 01 00:56:16 2017 +0100
@@ -46,7 +46,10 @@
 
 #define DEFAULT_STACK_YELLOW_PAGES (2)
 #define DEFAULT_STACK_RED_PAGES (1)
-#define DEFAULT_STACK_SHADOW_PAGES (4 DEBUG_ONLY(+5))
+// Java_java_net_SocketOutputStream_socketWrite0() uses a 64k buffer on the
+// stack if compiled for unix and LP64. To pass stack overflow tests we need
+// 20 shadow pages.
+#define DEFAULT_STACK_SHADOW_PAGES (20 DEBUG_ONLY(+5))
 #define DEFAULT_STACK_RESERVED_PAGES (1)
 
 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES
--- a/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp	Tue Jan 31 14:33:36 2017 -0800
+++ b/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp	Wed Feb 01 00:56:16 2017 +0100
@@ -534,9 +534,9 @@
 
 // Minimum usable stack sizes required to get to user code. Space for
 // HotSpot guard pages is added later.
-size_t os::Posix::_compiler_thread_min_stack_allowed = 32 * K;
-size_t os::Posix::_java_thread_min_stack_allowed = 32 * K;
-size_t os::Posix::_vm_internal_thread_min_stack_allowed = 64 * K;
+size_t os::Posix::_compiler_thread_min_stack_allowed = 72 * K;
+size_t os::Posix::_java_thread_min_stack_allowed = 72 * K;
+size_t os::Posix::_vm_internal_thread_min_stack_allowed = 72 * K;
 
 // return default stack size for thr_type
 size_t os::Posix::default_stack_size(os::ThreadType thr_type) {