Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/nativeLookup.cpp @ 21527:07b088d61d5d
added HotSpotJVMCIRuntime* classes, replaced references to HotSpotGraalRuntime in VM with HotSpotJVMCIRuntime (JBS:GRAAL-53)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 22 May 2015 23:26:20 +0200 |
parents | 1da7aef31a08 |
children | 5324104ac4f3 |
comparison
equal
deleted
inserted
replaced
21526:1da7aef31a08 | 21527:07b088d61d5d |
---|---|
127 void JNICALL JVM_RegisterPerfMethods(JNIEnv *env, jclass perfclass); | 127 void JNICALL JVM_RegisterPerfMethods(JNIEnv *env, jclass perfclass); |
128 void JNICALL JVM_RegisterWhiteBoxMethods(JNIEnv *env, jclass wbclass); | 128 void JNICALL JVM_RegisterWhiteBoxMethods(JNIEnv *env, jclass wbclass); |
129 #ifdef GRAAL | 129 #ifdef GRAAL |
130 void JNICALL JVM_InitGraalClassLoader(JNIEnv *env, jclass c, jobject loader); | 130 void JNICALL JVM_InitGraalClassLoader(JNIEnv *env, jclass c, jobject loader); |
131 void JNICALL JVM_InitializeGraalNatives(JNIEnv *env, jclass compilerToVMClass); | 131 void JNICALL JVM_InitializeGraalNatives(JNIEnv *env, jclass compilerToVMClass); |
132 jobject JNICALL JVM_GetJVMCIRuntime(JNIEnv *env, jclass c); | |
132 jobject JNICALL JVM_GetGraalRuntime(JNIEnv *env, jclass c); | 133 jobject JNICALL JVM_GetGraalRuntime(JNIEnv *env, jclass c); |
133 jobject JNICALL JVM_GetGraalServiceImpls(JNIEnv *env, jclass c, jclass serviceClass); | 134 jobject JNICALL JVM_GetGraalServiceImpls(JNIEnv *env, jclass c, jclass serviceClass); |
134 jobject JNICALL JVM_CreateTruffleRuntime(JNIEnv *env, jclass c); | 135 jobject JNICALL JVM_CreateTruffleRuntime(JNIEnv *env, jclass c); |
135 jobject JNICALL JVM_CreateNativeFunctionInterface(JNIEnv *env, jclass c); | 136 jobject JNICALL JVM_CreateNativeFunctionInterface(JNIEnv *env, jclass c); |
136 jboolean JNICALL JVM_ParseGraalOptions(JNIEnv *env, jclass hotspotOptionsClass); | 137 jboolean JNICALL JVM_ParseGraalOptions(JNIEnv *env, jclass hotspotOptionsClass); |
148 { CC"Java_java_lang_invoke_MethodHandleNatives_registerNatives", NULL, FN_PTR(JVM_RegisterMethodHandleMethods) }, | 149 { CC"Java_java_lang_invoke_MethodHandleNatives_registerNatives", NULL, FN_PTR(JVM_RegisterMethodHandleMethods) }, |
149 { CC"Java_sun_misc_Perf_registerNatives", NULL, FN_PTR(JVM_RegisterPerfMethods) }, | 150 { CC"Java_sun_misc_Perf_registerNatives", NULL, FN_PTR(JVM_RegisterPerfMethods) }, |
150 { CC"Java_sun_hotspot_WhiteBox_registerNatives", NULL, FN_PTR(JVM_RegisterWhiteBoxMethods) }, | 151 { CC"Java_sun_hotspot_WhiteBox_registerNatives", NULL, FN_PTR(JVM_RegisterWhiteBoxMethods) }, |
151 #ifdef GRAAL | 152 #ifdef GRAAL |
152 { CC"Java_com_oracle_graal_hotspot_loader_Factory_init", NULL, FN_PTR(JVM_InitGraalClassLoader) }, | 153 { CC"Java_com_oracle_graal_hotspot_loader_Factory_init", NULL, FN_PTR(JVM_InitGraalClassLoader) }, |
153 { CC"Java_com_oracle_graal_api_runtime_Graal_initializeRuntime", NULL, FN_PTR(JVM_GetGraalRuntime) }, | 154 { CC"Java_com_oracle_jvmci_runtime_JVMCI_initializeRuntime", NULL, FN_PTR(JVM_GetJVMCIRuntime) }, |
154 { CC"Java_com_oracle_graal_api_runtime_Services_getServiceImpls", NULL, FN_PTR(JVM_GetGraalServiceImpls) }, | 155 { CC"Java_com_oracle_graal_api_runtime_Services_getServiceImpls", NULL, FN_PTR(JVM_GetGraalServiceImpls) }, |
155 { CC"Java_com_oracle_truffle_api_Truffle_createRuntime", NULL, FN_PTR(JVM_CreateTruffleRuntime) }, | 156 { CC"Java_com_oracle_truffle_api_Truffle_createRuntime", NULL, FN_PTR(JVM_CreateTruffleRuntime) }, |
156 { CC"Java_com_oracle_nfi_NativeFunctionInterfaceRuntime_createInterface", NULL, FN_PTR(JVM_CreateNativeFunctionInterface) }, | 157 { CC"Java_com_oracle_nfi_NativeFunctionInterfaceRuntime_createInterface", NULL, FN_PTR(JVM_CreateNativeFunctionInterface) }, |
157 { CC"Java_com_oracle_graal_hotspot_jvmci_CompilerToVMImpl_init", NULL, FN_PTR(JVM_InitializeGraalNatives) }, | 158 { CC"Java_com_oracle_graal_hotspot_jvmci_CompilerToVMImpl_init", NULL, FN_PTR(JVM_InitializeGraalNatives) }, |
158 { CC"Java_com_oracle_graal_hotspot_jvmci_HotSpotOptions_parseVMOptions", NULL, FN_PTR(JVM_ParseGraalOptions) }, | 159 { CC"Java_com_oracle_graal_hotspot_jvmci_HotSpotOptions_parseVMOptions", NULL, FN_PTR(JVM_ParseGraalOptions) }, |