hotspot/src/os/posix/vm/os_posix.cpp
changeset 46620 750c6edff33b
parent 46619 a3919f5e8d2b
child 46622 910fc72c03e8
--- a/hotspot/src/os/posix/vm/os_posix.cpp	Tue Jul 04 15:58:10 2017 +0200
+++ b/hotspot/src/os/posix/vm/os_posix.cpp	Thu Apr 13 09:57:51 2017 +0200
@@ -1197,7 +1197,7 @@
 
   // Make the stack size a multiple of the page size so that
   // the yellow/red zones can be guarded.
-  JavaThread::set_stack_size_at_create(round_to(stack_size_in_bytes, vm_page_size()));
+  JavaThread::set_stack_size_at_create(align_up(stack_size_in_bytes, vm_page_size()));
 
   // Reminder: a compiler thread is a Java thread.
   _compiler_thread_min_stack_allowed = _compiler_thread_min_stack_allowed +