comparison src/share/vm/graal/graalCompiler.cpp @ 21527:07b088d61d5d

added HotSpotJVMCIRuntime* classes, replaced references to HotSpotGraalRuntime in VM with HotSpotJVMCIRuntime (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Fri, 22 May 2015 23:26:20 +0200
parents 104304a54b0c
children 5324104ac4f3
comparison
equal deleted inserted replaced
21526:1da7aef31a08 21527:07b088d61d5d
156 } 156 }
157 157
158 void GraalCompiler::compile_the_world() { 158 void GraalCompiler::compile_the_world() {
159 HandleMark hm; 159 HandleMark hm;
160 JavaThread* THREAD = JavaThread::current(); 160 JavaThread* THREAD = JavaThread::current();
161 TempNewSymbol name = SymbolTable::new_symbol("com/oracle/graal/hotspot/HotSpotGraalRuntime", CHECK_ABORT); 161 TempNewSymbol name = SymbolTable::new_symbol("com/oracle/graal/hotspot/jvmci/HotSpotJVMCIRuntime", CHECK_ABORT);
162 KlassHandle klass = GraalRuntime::load_required_class(name); 162 KlassHandle klass = GraalRuntime::load_required_class(name);
163 TempNewSymbol compileTheWorld = SymbolTable::new_symbol("compileTheWorld", CHECK_ABORT); 163 TempNewSymbol compileTheWorld = SymbolTable::new_symbol("compileTheWorld", CHECK_ABORT);
164 JavaValue result(T_VOID); 164 JavaValue result(T_VOID);
165 JavaCallArguments args; 165 JavaCallArguments args;
166 args.push_oop(GraalRuntime::get_HotSpotGraalRuntime()); 166 args.push_oop(GraalRuntime::get_HotSpotJVMCIRuntime());
167 JavaCalls::call_special(&result, klass, compileTheWorld, vmSymbols::void_method_signature(), &args, CHECK_ABORT); 167 JavaCalls::call_special(&result, klass, compileTheWorld, vmSymbols::void_method_signature(), &args, CHECK_ABORT);
168 } 168 }