src/share/vm/opto/compile.cpp

Print this page

        

*** 428,438 **** // To bang the stack of this compiled method we use the stack size // that the interpreter would need in case of a deoptimization. This // 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()); } // ============================================================================ //------------------------------CompileWrapper--------------------------------- class CompileWrapper : public StackObj { --- 428,438 ---- // To bang the stack of this compiled method we use the stack size // that the interpreter would need in case of a deoptimization. This // 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(frame_size_in_bytes() + os::extra_bang_size_in_bytes(), _interpreter_frame_size); } // ============================================================================ //------------------------------CompileWrapper--------------------------------- class CompileWrapper : public StackObj {