8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash

Ensure ensure correct initialization of compiler runtime

Reviewed-by: kvn, twisti
This commit is contained in:
Albert Noll 2013-10-10 15:44:12 +02:00
parent 7f46feeee2
commit aef0d74e96
18 changed files with 386 additions and 265 deletions

View file

@ -133,11 +133,10 @@ SharkCompiler::SharkCompiler()
exit(1);
}
execution_engine()->addModule(
_native_context->module());
execution_engine()->addModule(_native_context->module());
// All done
mark_initialized();
set_state(initialized);
}
void SharkCompiler::initialize() {