diff src/share/vm/shark/sharkCompiler.cpp @ 12880:469216acdb28

8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash Summary: Ensure ensure correct initialization of compiler runtime Reviewed-by: kvn, twisti
author anoll
date Thu, 10 Oct 2013 15:44:12 +0200
parents c095a7f289aa
children 096c224171c4 de6a9e811145
line wrap: on
line diff
--- a/src/share/vm/shark/sharkCompiler.cpp	Fri Oct 11 10:14:02 2013 -0700
+++ b/src/share/vm/shark/sharkCompiler.cpp	Thu Oct 10 15:44:12 2013 +0200
@@ -133,11 +133,10 @@
     exit(1);
   }
 
-  execution_engine()->addModule(
-    _native_context->module());
+  execution_engine()->addModule(_native_context->module());
 
   // All done
-  mark_initialized();
+  set_state(initialized);
 }
 
 void SharkCompiler::initialize() {