hotspot/src/cpu/ppc/vm/ppc.ad
changeset 35201 996db89f378e
parent 34185 ee71c590a456
child 35232 76aed99c0ddd
--- a/hotspot/src/cpu/ppc/vm/ppc.ad	Fri Dec 18 13:38:49 2015 +0000
+++ b/hotspot/src/cpu/ppc/vm/ppc.ad	Sun Dec 20 10:37:23 2015 -0500
@@ -1308,7 +1308,7 @@
     // insert the code of generate_stack_overflow_check(), see
     // assembler.cpp for some illuminative comments.
     const int page_size = os::vm_page_size();
-    int bang_end = StackShadowPages * page_size;
+    int bang_end = JavaThread::stack_shadow_zone_size();
 
     // This is how far the previous frame's stack banging extended.
     const int bang_end_safe = bang_end;