Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalRuntime.cpp @ 18961:afa70d3e8159
Allow users to provide their own TruffleRuntime implementation
and add ForceInterpreter option to TruffleOptions.
author | Paul Woegerer <paul.woegerer@oracle.com> |
---|---|
date | Tue, 27 Jan 2015 14:11:52 +0100 |
parents | 3d6e630a72f1 |
children | 9c2396ef02db |
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.cpp Tue Jan 27 12:05:41 2015 +0100 +++ b/src/share/vm/graal/graalRuntime.cpp Tue Jan 27 14:11:52 2015 +0100 @@ -684,7 +684,7 @@ KlassHandle klass = GraalRuntime::resolve_or_fail(name, CHECK_NULL); TempNewSymbol makeInstance = SymbolTable::new_symbol("makeInstance", CHECK_NULL); - TempNewSymbol sig = SymbolTable::new_symbol("()Lcom/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime;", CHECK_NULL); + TempNewSymbol sig = SymbolTable::new_symbol("()Lcom/oracle/truffle/api/TruffleRuntime;", CHECK_NULL); JavaValue result(T_OBJECT); JavaCalls::call_static(&result, klass, makeInstance, sig, CHECK_NULL); return JNIHandles::make_local((oop) result.get_jobject());