Mercurial > hg > graal-compiler
changeset 18634:b4071daf1892
ensure Graal class loader is initialized prior to loading HotSpotTruffleRuntime
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Fri, 05 Dec 2014 03:30:19 +0100 |
parents | 8a03753546f3 |
children | a8b46348b79f |
files | src/share/vm/graal/graalRuntime.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.cpp Fri Dec 05 00:38:17 2014 +0100 +++ b/src/share/vm/graal/graalRuntime.cpp Fri Dec 05 03:30:19 2014 +0100 @@ -679,6 +679,7 @@ // private static TruffleRuntime Truffle.createRuntime() JVM_ENTRY(jobject, JVM_CreateTruffleRuntime(JNIEnv *env, jclass c)) + GraalRuntime::ensure_graal_class_loader_is_initialized(); TempNewSymbol name = SymbolTable::new_symbol("com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime", CHECK_NULL); KlassHandle klass = GraalRuntime::resolve_or_fail(name, CHECK_NULL);