Mercurial > hg > graal-jvmci-8
diff src/share/vm/prims/nativeLookup.cpp @ 23408:f84a5ac3be22
make JVMCI JDK immutable and sharable among different JVMCI clients
minimize diff to jvmci-9, including adding support for EnableJVMCI (default is true in jvmci-8)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 30 May 2016 22:56:59 +0200 |
parents | f2206f5bb62e |
children |
line wrap: on
line diff
--- a/src/share/vm/prims/nativeLookup.cpp Mon May 30 14:11:39 2016 +0200 +++ b/src/share/vm/prims/nativeLookup.cpp Mon May 30 22:56:59 2016 +0200 @@ -130,7 +130,7 @@ void JNICALL JVM_InitJVMCIClassLoader(JNIEnv *env, jclass c, jobject loader); void JNICALL JVM_RegisterJVMCINatives(JNIEnv *env, jclass compilerToVMClass); jobject JNICALL JVM_GetJVMCIRuntime(JNIEnv *env, jclass c); - jobject JNICALL JVM_GetJVMCIServiceImpls(JNIEnv *env, jclass c, jclass serviceClass); + jobject JNICALL JVM_GetJVMCIClassLoader(JNIEnv *env, jclass c); #endif } @@ -145,7 +145,7 @@ #if INCLUDE_JVMCI { CC"Java_jdk_vm_ci_services_JVMCIClassLoaderFactory_init", NULL, FN_PTR(JVM_InitJVMCIClassLoader) }, { CC"Java_jdk_vm_ci_runtime_JVMCI_initializeRuntime", NULL, FN_PTR(JVM_GetJVMCIRuntime) }, - { CC"Java_jdk_vm_ci_services_Services_getServiceImpls", NULL, FN_PTR(JVM_GetJVMCIServiceImpls) }, + { CC"Java_jdk_vm_ci_services_Services_getJVMCIClassLoader", NULL, FN_PTR(JVM_GetJVMCIClassLoader) }, { CC"Java_jdk_vm_ci_hotspot_CompilerToVM_registerNatives", NULL, FN_PTR(JVM_RegisterJVMCINatives) }, #endif };