Mercurial > hg > graal-jvmci-8
diff src/share/vm/c1x/c1x_VMExits.cpp @ 1481:fe69dec9a1ed
Added support for CompileTheWorld.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Mon, 29 Nov 2010 12:01:45 +0100 |
parents | ef7761803480 |
children | 79d04223b8a5 |
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_VMExits.cpp Sat Nov 27 16:43:53 2010 +0100 +++ b/src/share/vm/c1x/c1x_VMExits.cpp Mon Nov 29 12:01:45 2010 +0100 @@ -43,6 +43,9 @@ Handle VMExits::instance() { if (JNIHandles::resolve(_vmExitsPermObject) == NULL) { KlassHandle compiler_klass = SystemDictionary::resolve_or_null(vmSymbols::com_sun_hotspot_c1x_Compiler(), SystemDictionary::java_system_loader(), NULL, Thread::current()); + if (compiler_klass.is_null()) { + fatal("Could not find class com.sun.hotspot.c1x.Compiler"); + } JavaValue result(T_OBJECT); JavaCallArguments args; JavaCalls::call_static(&result, compiler_klass(), vmSymbols::getVMExits_name(), vmSymbols::getVMExits_signature(), &args, Thread::current());