Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/nativeLookup.cpp @ 21563:4f63449b4422
revived post option parsing handler notification
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 29 May 2015 00:06:22 +0200 |
parents | 47bebae7454f |
children | 93f282187d90 |
comparison
equal
deleted
inserted
replaced
21562:47bebae7454f | 21563:4f63449b4422 |
---|---|
132 jobject JNICALL JVM_GetJVMCIRuntime(JNIEnv *env, jclass c); | 132 jobject JNICALL JVM_GetJVMCIRuntime(JNIEnv *env, jclass c); |
133 jobject JNICALL JVM_GetJVMCIRuntime(JNIEnv *env, jclass c); | 133 jobject JNICALL JVM_GetJVMCIRuntime(JNIEnv *env, jclass c); |
134 jobject JNICALL JVM_GetJVMCIServiceImpls(JNIEnv *env, jclass c, jclass serviceClass); | 134 jobject JNICALL JVM_GetJVMCIServiceImpls(JNIEnv *env, jclass c, jclass serviceClass); |
135 jobject JNICALL JVM_CreateTruffleRuntime(JNIEnv *env, jclass c); | 135 jobject JNICALL JVM_CreateTruffleRuntime(JNIEnv *env, jclass c); |
136 jobject JNICALL JVM_CreateNativeFunctionInterface(JNIEnv *env, jclass c); | 136 jobject JNICALL JVM_CreateNativeFunctionInterface(JNIEnv *env, jclass c); |
137 jboolean JNICALL JVM_IsCITimingEnabled(JNIEnv *env); | |
138 #ifdef COMPILERJVMCI | 137 #ifdef COMPILERJVMCI |
139 void JNICALL JVM_PrintAndResetJVMCICompRate(JNIEnv *env, jclass c); | 138 void JNICALL JVM_PrintAndResetJVMCICompRate(JNIEnv *env, jclass c); |
140 #endif | 139 #endif |
141 #endif | 140 #endif |
142 } | 141 } |
154 { CC"Java_com_oracle_jvmci_runtime_JVMCI_initializeRuntime", NULL, FN_PTR(JVM_GetJVMCIRuntime) }, | 153 { CC"Java_com_oracle_jvmci_runtime_JVMCI_initializeRuntime", NULL, FN_PTR(JVM_GetJVMCIRuntime) }, |
155 { CC"Java_com_oracle_jvmci_runtime_Services_getServiceImpls", NULL, FN_PTR(JVM_GetJVMCIServiceImpls) }, | 154 { CC"Java_com_oracle_jvmci_runtime_Services_getServiceImpls", NULL, FN_PTR(JVM_GetJVMCIServiceImpls) }, |
156 { CC"Java_com_oracle_truffle_api_Truffle_createRuntime", NULL, FN_PTR(JVM_CreateTruffleRuntime) }, | 155 { CC"Java_com_oracle_truffle_api_Truffle_createRuntime", NULL, FN_PTR(JVM_CreateTruffleRuntime) }, |
157 { CC"Java_com_oracle_nfi_NativeFunctionInterfaceRuntime_createInterface", NULL, FN_PTR(JVM_CreateNativeFunctionInterface) }, | 156 { CC"Java_com_oracle_nfi_NativeFunctionInterfaceRuntime_createInterface", NULL, FN_PTR(JVM_CreateNativeFunctionInterface) }, |
158 { CC"Java_com_oracle_jvmci_hotspot_CompilerToVMImpl_init", NULL, FN_PTR(JVM_InitializeJVMCINatives) }, | 157 { CC"Java_com_oracle_jvmci_hotspot_CompilerToVMImpl_init", NULL, FN_PTR(JVM_InitializeJVMCINatives) }, |
159 { CC"Java_com_oracle_jvmci_hotspot_HotSpotOptions_isCITimingEnabled", NULL, FN_PTR(JVM_IsCITimingEnabled) }, | |
160 #endif | 158 #endif |
161 }; | 159 }; |
162 | 160 |
163 static address lookup_special_native(char* jni_name) { | 161 static address lookup_special_native(char* jni_name) { |
164 int count = sizeof(lookup_special_native_methods) / sizeof(JNINativeMethod); | 162 int count = sizeof(lookup_special_native_methods) / sizeof(JNINativeMethod); |