hotspot/src/share/vm/shark/sharkStack.cpp
changeset 35201 996db89f378e
parent 14622 8e94e4186d35
--- a/hotspot/src/share/vm/shark/sharkStack.cpp	Fri Dec 18 13:38:49 2015 +0000
+++ b/hotspot/src/share/vm/shark/sharkStack.cpp	Sun Dec 20 10:37:23 2015 -0500
@@ -133,7 +133,7 @@
   builder()->CreateCondBr(
     builder()->CreateICmpULT(
       free_stack,
-      LLVMValue::intptr_constant(StackShadowPages * os::vm_page_size())),
+      LLVMValue::intptr_constant(JavaThread::stack_shadow_zone_size())),
     overflow, abi_ok);
 
   // Handle overflows