8166317: InterpreterCodeSize should be computed

Reviewed-by: kvn, coleenp
This commit is contained in:
Volker Simonis 2017-09-04 19:50:01 +02:00
parent 7030019135
commit a5d5806cb4
10 changed files with 88 additions and 31 deletions

View file

@ -54,6 +54,8 @@ void TemplateInterpreter::initialize() {
_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) {