src/share/vm/opto/graphKit.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/opto/graphKit.cpp

src/share/vm/opto/graphKit.cpp

Print this page
rev 6132 : 8032410: compiler/uncommontrap/TestStackBangRbp.java times out on Solaris-Sparc V9
Summary: make compiled code bang the stack by the worst case size of the interpreter frame at deoptimization points.
Reviewed-by:

*** 1047,1063 **** case Bytecodes::_invokespecial: case Bytecodes::_invokestatic: case Bytecodes::_invokedynamic: case Bytecodes::_invokeinterface: { ! bool ignored_will_link; ! ciSignature* declared_signature = NULL; ! ciMethod* ignored_callee = method()->get_method_at_bci(bci(), ignored_will_link, &declared_signature); ! assert(declared_signature != NULL, "cannot be null"); ! inputs = declared_signature->arg_size_for_bc(code); ! int size = declared_signature->return_type()->size(); ! depth = size - inputs; } break; case Bytecodes::_multianewarray: { --- 1047,1058 ---- case Bytecodes::_invokespecial: case Bytecodes::_invokestatic: case Bytecodes::_invokedynamic: case Bytecodes::_invokeinterface: { ! int size = method()->get_stack_effect_at_invoke(bci(), code, inputs); ! depth = size; } break; case Bytecodes::_multianewarray: {
src/share/vm/opto/graphKit.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File