Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/nativeLookup.cpp @ 15916:6aa352b260f4
removed use of ServiceLoader in runtime initialization
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 26 May 2014 18:55:06 +0200 |
parents | fe608a56e3f7 |
children | 66a9286203a2 |
comparison
equal
deleted
inserted
replaced
15915:d1e9a44b14cc | 15916:6aa352b260f4 |
---|---|
124 void JNICALL JVM_RegisterPerfMethods(JNIEnv *env, jclass perfclass); | 124 void JNICALL JVM_RegisterPerfMethods(JNIEnv *env, jclass perfclass); |
125 void JNICALL JVM_RegisterWhiteBoxMethods(JNIEnv *env, jclass wbclass); | 125 void JNICALL JVM_RegisterWhiteBoxMethods(JNIEnv *env, jclass wbclass); |
126 #ifdef GRAAL | 126 #ifdef GRAAL |
127 void JNICALL JVM_InitializeGraalNatives(JNIEnv *env, jclass c, jclass compilerToVMClass); | 127 void JNICALL JVM_InitializeGraalNatives(JNIEnv *env, jclass c, jclass compilerToVMClass); |
128 jobject JNICALL JVM_GetGraalRuntime(JNIEnv *env, jclass c); | 128 jobject JNICALL JVM_GetGraalRuntime(JNIEnv *env, jclass c); |
129 jobject JNICALL JVM_GetGraalServiceImpls(JNIEnv *env, jclass c); | |
129 jobject JNICALL JVM_CreateTruffleRuntime(JNIEnv *env, jclass c); | 130 jobject JNICALL JVM_CreateTruffleRuntime(JNIEnv *env, jclass c); |
130 jboolean JNICALL JVM_ParseGraalOptions(JNIEnv *env, jclass hotspotOptionsClass); | 131 jboolean JNICALL JVM_ParseGraalOptions(JNIEnv *env, jclass hotspotOptionsClass); |
131 #endif | 132 #endif |
132 } | 133 } |
133 | 134 |
139 { CC"Java_java_lang_invoke_MethodHandleNatives_registerNatives", NULL, FN_PTR(JVM_RegisterMethodHandleMethods) }, | 140 { CC"Java_java_lang_invoke_MethodHandleNatives_registerNatives", NULL, FN_PTR(JVM_RegisterMethodHandleMethods) }, |
140 { CC"Java_sun_misc_Perf_registerNatives", NULL, FN_PTR(JVM_RegisterPerfMethods) }, | 141 { CC"Java_sun_misc_Perf_registerNatives", NULL, FN_PTR(JVM_RegisterPerfMethods) }, |
141 { CC"Java_sun_hotspot_WhiteBox_registerNatives", NULL, FN_PTR(JVM_RegisterWhiteBoxMethods) }, | 142 { CC"Java_sun_hotspot_WhiteBox_registerNatives", NULL, FN_PTR(JVM_RegisterWhiteBoxMethods) }, |
142 #ifdef GRAAL | 143 #ifdef GRAAL |
143 { CC"Java_com_oracle_graal_api_runtime_Graal_initializeRuntime", NULL, FN_PTR(JVM_GetGraalRuntime) }, | 144 { CC"Java_com_oracle_graal_api_runtime_Graal_initializeRuntime", NULL, FN_PTR(JVM_GetGraalRuntime) }, |
145 { CC"Java_com_oracle_graal_api_runtime_Services_getServiceImpls", NULL, FN_PTR(JVM_GetGraalServiceImpls) }, | |
144 { CC"Java_com_oracle_truffle_api_Truffle_createRuntime", NULL, FN_PTR(JVM_CreateTruffleRuntime) }, | 146 { CC"Java_com_oracle_truffle_api_Truffle_createRuntime", NULL, FN_PTR(JVM_CreateTruffleRuntime) }, |
145 { CC"Java_com_oracle_graal_hotspot_HotSpotGraalRuntime_init", NULL, FN_PTR(JVM_InitializeGraalNatives) }, | 147 { CC"Java_com_oracle_graal_hotspot_HotSpotGraalRuntime_init", NULL, FN_PTR(JVM_InitializeGraalNatives) }, |
146 { CC"Java_com_oracle_graal_hotspot_HotSpotOptions_parseVMOptions", NULL, FN_PTR(JVM_ParseGraalOptions) }, | 148 { CC"Java_com_oracle_graal_hotspot_HotSpotOptions_parseVMOptions", NULL, FN_PTR(JVM_ParseGraalOptions) }, |
147 #endif | 149 #endif |
148 }; | 150 }; |