< prev index next >
src/share/vm/jvmci/jvmciRuntime.cpp
Print this page
@@ -623,11 +623,12 @@
JVM_ENTRY(jobject, JVM_GetJVMCIRuntime(JNIEnv *env, jclass c))
if (!EnableJVMCI) {
THROW_MSG_NULL(vmSymbols::java_lang_InternalError(), "JVMCI is not enabled")
}
JVMCIRuntime::initialize_HotSpotJVMCIRuntime(CHECK_NULL);
- return JVMCIRuntime::get_HotSpotJVMCIRuntime_jobject(CHECK_NULL);
+ jobject ret = JVMCIRuntime::get_HotSpotJVMCIRuntime_jobject(CHECK_NULL);
+ return ret;
JVM_END
Handle JVMCIRuntime::callStatic(const char* className, const char* methodName, const char* signature, JavaCallArguments* args, TRAPS) {
guarantee(!_HotSpotJVMCIRuntime_initialized, "cannot reinitialize HotSpotJVMCIRuntime");
< prev index next >