hotspot/src/os/posix/vm/os_posix.hpp
changeset 42906 1a8db9cf1407
parent 41070 496463b4e206
child 46331 e3017116b9e5
--- a/hotspot/src/os/posix/vm/os_posix.hpp	Tue Nov 08 16:30:36 2016 +0100
+++ b/hotspot/src/os/posix/vm/os_posix.hpp	Mon Dec 19 15:48:57 2016 -0800
@@ -43,7 +43,11 @@
   static void print_load_average(outputStream* st);
 
   // Minimum stack size a thread can be created with (allowing
-  // the VM to completely create the thread and enter user code)
+  // the VM to completely create the thread and enter user code).
+  // The initial values exclude any guard pages (by HotSpot or libc).
+  // set_minimum_stack_sizes() will add the size required for
+  // HotSpot guard pages depending on page size and flag settings.
+  // Libc guard pages are never considered by these values.
   static size_t _compiler_thread_min_stack_allowed;
   static size_t _java_thread_min_stack_allowed;
   static size_t _vm_internal_thread_min_stack_allowed;