src/cpu/x86/vm/templateInterpreter_x86.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8074457 Cdiff src/cpu/x86/vm/templateInterpreter_x86.cpp

src/cpu/x86/vm/templateInterpreter_x86.cpp

Print this page

        

*** 25,46 **** #include "precompiled.hpp" #include "ci/ciMethod.hpp" #include "interpreter/interpreter.hpp" #include "runtime/frame.inline.hpp" ! #ifndef CC_INTERP // asm based interpreter deoptimization helpers int AbstractInterpreter::size_activation(int max_stack, int temps, int extra_args, int monitors, int callee_params, int callee_locals, bool is_top_frame) { // Note: This calculation must exactly parallel the frame setup ! // in InterpreterGenerator::generate_fixed_frame. // fixed size of an interpreter frame: int overhead = frame::sender_sp_offset - frame::interpreter_frame_initial_sp_offset; // Our locals were accounted for by the caller (or last_frame_adjust --- 25,55 ---- #include "precompiled.hpp" #include "ci/ciMethod.hpp" #include "interpreter/interpreter.hpp" #include "runtime/frame.inline.hpp" ! // Size of interpreter code. Increase if too small. Interpreter will ! // fail with a guarantee ("not enough space for interpreter generation"); ! // if too small. ! // Run with +PrintInterpreter to get the VM to print out the size. ! // Max size with JVMTI ! #ifdef AMD64 ! int TemplateInterpreter::InterpreterCodeSize = 256 * 1024; ! #else ! int TemplateInterpreter::InterpreterCodeSize = 224 * 1024; ! #endif // AMD64 // asm based interpreter deoptimization helpers int AbstractInterpreter::size_activation(int max_stack, int temps, int extra_args, int monitors, int callee_params, int callee_locals, bool is_top_frame) { // Note: This calculation must exactly parallel the frame setup ! // in TemplateInterpreterGenerator::generate_fixed_frame. // fixed size of an interpreter frame: int overhead = frame::sender_sp_offset - frame::interpreter_frame_initial_sp_offset; // Our locals were accounted for by the caller (or last_frame_adjust
*** 196,202 **** const int method_stack = (method->max_locals() + method->max_stack()) * Interpreter::stackElementWords; return (overhead_size + method_stack + stub_code); } - - #endif // CC_INTERP --- 205,209 ----
src/cpu/x86/vm/templateInterpreter_x86.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File