< prev index next >

src/share/vm/interpreter/templateInterpreter.cpp

Print this page
rev 13455 : 8166317: InterpreterCodeSize should be computed
Reviewed-by: kvn

*** 52,61 **** --- 52,63 ---- int code_size = InterpreterCodeSize; NOT_PRODUCT(code_size *= 4;) // debug uses extra interpreter code space _code = new StubQueue(new InterpreterCodeletInterface, code_size, NULL, "Interpreter"); TemplateInterpreterGenerator g(_code); + // Free the unused memory not occupied by the interpreter and the stubs + _code->deallocate_unused_tail(); } if (PrintInterpreter) { ResourceMark rm; print();
< prev index next >