< prev index next >

src/os/posix/vm/os_posix.hpp

Print this page
rev 12308 : imported patch new_os_guard_for_java_thread.patch

@@ -41,11 +41,15 @@
   static void print_uname_info(outputStream* st);
   static void print_libversion_info(outputStream* st);
   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 VM or OS).
+  // set_minimum_stack_sizes() will add the size required for
+  // VM guard pages depending on page size.
+  // OS 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;
 
 public:
< prev index next >