hotspot/src/share/vm/interpreter/templateInterpreter.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/hotspot/src/share/vm/interpreter/templateInterpreter.cpp	Fri Dec  2 11:15:39 2016
--- new/hotspot/src/share/vm/interpreter/templateInterpreter.cpp	Fri Dec  2 11:15:38 2016

*** 21,31 **** --- 21,30 ---- * 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"
*** 50,82 **** --- 49,62 ---- // 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(); }

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