comparison 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
comparison
equal deleted inserted replaced
12876:8b80b262e501 12880:469216acdb28
131 else 131 else
132 printf("Unknown error while creating Shark JIT\n"); 132 printf("Unknown error while creating Shark JIT\n");
133 exit(1); 133 exit(1);
134 } 134 }
135 135
136 execution_engine()->addModule( 136 execution_engine()->addModule(_native_context->module());
137 _native_context->module());
138 137
139 // All done 138 // All done
140 mark_initialized(); 139 set_state(initialized);
141 } 140 }
142 141
143 void SharkCompiler::initialize() { 142 void SharkCompiler::initialize() {
144 ShouldNotCallThis(); 143 ShouldNotCallThis();
145 } 144 }