hotspot/src/share/vm/c1/c1_LIRAssembler.cpp
changeset 26576 a9429d24d429
parent 25949 34557722059b
child 28954 7dda6c26cc98
--- a/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp	Wed Sep 03 14:39:13 2014 +0200
+++ b/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp	Thu Sep 04 13:11:25 2014 +0400
@@ -170,7 +170,7 @@
 // removes the need to bang the stack in the deoptimization blob which
 // in turn simplifies stack overflow handling.
 int LIR_Assembler::bang_size_in_bytes() const {
-  return MAX2(initial_frame_size_in_bytes(), _compilation->interpreter_frame_size());
+  return MAX2(initial_frame_size_in_bytes() + os::extra_bang_size_in_bytes(), _compilation->interpreter_frame_size());
 }
 
 void LIR_Assembler::emit_exception_entries(ExceptionInfoList* info_list) {