hotspot/src/share/vm/opto/compile.cpp
changeset 26576 a9429d24d429
parent 26175 d8a4e0741439
child 26796 666464578742
--- a/hotspot/src/share/vm/opto/compile.cpp	Wed Sep 03 14:39:13 2014 +0200
+++ b/hotspot/src/share/vm/opto/compile.cpp	Thu Sep 04 13:11:25 2014 +0400
@@ -430,7 +430,7 @@
 // removes the need to bang the stack in the deoptimization blob which
 // in turn simplifies stack overflow handling.
 int Compile::bang_size_in_bytes() const {
-  return MAX2(_interpreter_frame_size, frame_size_in_bytes());
+  return MAX2(frame_size_in_bytes() + os::extra_bang_size_in_bytes(), _interpreter_frame_size);
 }
 
 // ============================================================================