comparison src/share/vm/graal/graalVMToCompiler.cpp @ 5534:e0f7a49129f2

Renamed HotSpotCompilerImpl => HotSpotGraalRuntime.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Fri, 08 Jun 2012 23:10:02 +0200
parents 82f2bb47c97e
children 70f715dfbb41
comparison
equal deleted inserted replaced
5533:c5c13f3ed5c4 5534:e0f7a49129f2
39 } 39 }
40 40
41 Handle VMToCompiler::compilerInstance() { 41 Handle VMToCompiler::compilerInstance() {
42 if (JNIHandles::resolve(_compilerPermObject) == NULL) { 42 if (JNIHandles::resolve(_compilerPermObject) == NULL) {
43 KlassHandle compilerImplKlass = SystemDictionary::resolve_or_null(vmSymbols::com_oracle_graal_hotspot_CompilerImpl(), SystemDictionary::java_system_loader(), NULL, Thread::current()); 43 KlassHandle compilerImplKlass = SystemDictionary::resolve_or_null(vmSymbols::com_oracle_graal_hotspot_CompilerImpl(), SystemDictionary::java_system_loader(), NULL, Thread::current());
44 check_not_null(compilerImplKlass(), "Couldn't find class com.sun.hotspot.graal.HotSpotCompilerImpl"); 44 check_not_null(compilerImplKlass(), "Couldn't find class com.sun.hotspot.graal.HotSpotGraalRuntime");
45 45
46 JavaValue result(T_OBJECT); 46 JavaValue result(T_OBJECT);
47 JavaCalls::call_static(&result, compilerImplKlass, vmSymbols::getInstance_name(), vmSymbols::getInstance_signature(), Thread::current()); 47 JavaCalls::call_static(&result, compilerImplKlass, vmSymbols::getInstance_name(), vmSymbols::getInstance_signature(), Thread::current());
48 check_pending_exception("Couldn't get Compiler"); 48 check_pending_exception("Couldn't get Compiler");
49 _compilerPermObject = JNIHandles::make_global((oop) result.get_jobject()); 49 _compilerPermObject = JNIHandles::make_global((oop) result.get_jobject());