src/cpu/ppc/vm/templateInterpreter_ppc.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/cpu/ppc/vm/templateInterpreter_ppc.cpp	Thu Dec 17 17:51:57 2015
--- new/src/cpu/ppc/vm/templateInterpreter_ppc.cpp	Thu Dec 17 17:51:57 2015

*** 29,38 **** --- 29,44 ---- #include "oops/method.hpp" #include "runtime/frame.inline.hpp" #include "utilities/debug.hpp" #include "utilities/macros.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 + int TemplateInterpreter::InterpreterCodeSize = 230*K; int AbstractInterpreter::BasicType_as_index(BasicType type) { int i = 0; switch (type) { case T_BOOLEAN: i = 0; break;
*** 77,87 **** --- 83,93 ---- 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. assert(Interpreter::stackElementWords == 1, "sanity"); const int max_alignment_space = StackAlignmentInBytes / Interpreter::stackElementSize; const int abi_scratch = is_top_frame ? (frame::abi_reg_args_size / Interpreter::stackElementSize) : (frame::abi_minframe_size / Interpreter::stackElementSize); const int size =

src/cpu/ppc/vm/templateInterpreter_ppc.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File