--- old/src/os/bsd/vm/os_bsd.cpp 2015-11-23 18:20:41.008922291 +0100 +++ new/src/os/bsd/vm/os_bsd.cpp 2015-11-23 18:20:40.833904694 +0100 @@ -3542,7 +3542,7 @@ // Add in 2*BytesPerWord times page size to account for VM stack during // class initialization depending on 32 or 64 bit VM. os::Bsd::min_stack_allowed = MAX2(os::Bsd::min_stack_allowed, - (size_t)(StackYellowPages+StackRedPages+StackShadowPages+ + (size_t)(StackReservedPages+StackYellowPages+StackRedPages+StackShadowPages+ 2*BytesPerWord COMPILER2_PRESENT(+1)) * Bsd::page_size()); size_t threadStackSizeInBytes = ThreadStackSize * K;