src/share/vm/interpreter/templateInterpreter.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/interpreter/templateInterpreter.cpp

src/share/vm/interpreter/templateInterpreter.cpp

Print this page
rev 12400 : 8168503: JEP 297: Unified arm32/arm64 Port
Reviewed-by: kvn, enevill, ihse, dholmes, erik, coleenp, cjplummer

*** 21,31 **** * questions. * */ #include "precompiled.hpp" - #include "code/codeCacheExtensions.hpp" #include "interpreter/interpreter.hpp" #include "interpreter/interpreterRuntime.hpp" #include "interpreter/interp_masm.hpp" #include "interpreter/templateInterpreter.hpp" #include "interpreter/templateInterpreterGenerator.hpp" --- 21,30 ----
*** 50,82 **** // generate interpreter { ResourceMark rm; TraceTime timer("Interpreter generation", TRACETIME_LOG(Info, startuptime)); int code_size = InterpreterCodeSize; NOT_PRODUCT(code_size *= 4;) // debug uses extra interpreter code space - #if INCLUDE_JVMTI - if (CodeCacheExtensions::saving_generated_interpreter()) { - // May requires several versions of the codelets. - // Final size will automatically be optimized. - code_size *= 2; - } - #endif _code = new StubQueue(new InterpreterCodeletInterface, code_size, NULL, "Interpreter"); TemplateInterpreterGenerator g(_code); } - if (PrintInterpreter) { - if (CodeCacheExtensions::saving_generated_interpreter() && - CodeCacheExtensions::use_pregenerated_interpreter()) { - ResourceMark rm; - tty->print("Printing the newly generated interpreter first"); - print(); - tty->print("Printing the pregenerated interpreter next"); - } - } - - // Install the pregenerated interpreter code before printing it - CodeCacheExtensions::complete_step(CodeCacheExtensionsSteps::TemplateInterpreter); if (PrintInterpreter) { ResourceMark rm; print(); } --- 49,62 ----
src/share/vm/interpreter/templateInterpreter.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File