Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/nativeLookup.cpp @ 22298:c28cb37b2e1d
Rename JVMCI to INCLUDE_JVMCI.
author | twisti |
---|---|
date | Wed, 22 Jul 2015 08:56:03 -0700 |
parents | 0e095e2c24e2 |
children | 5b1d16455b92 |
comparison
equal
deleted
inserted
replaced
22297:571202729bbf | 22298:c28cb37b2e1d |
---|---|
124 extern "C" { | 124 extern "C" { |
125 void JNICALL JVM_RegisterUnsafeMethods(JNIEnv *env, jclass unsafecls); | 125 void JNICALL JVM_RegisterUnsafeMethods(JNIEnv *env, jclass unsafecls); |
126 void JNICALL JVM_RegisterMethodHandleMethods(JNIEnv *env, jclass unsafecls); | 126 void JNICALL JVM_RegisterMethodHandleMethods(JNIEnv *env, jclass unsafecls); |
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 JVMCI | 129 #if INCLUDE_JVMCI |
130 void JNICALL JVM_InitJVMCIClassLoader(JNIEnv *env, jclass c, jobject loader); | 130 void JNICALL JVM_InitJVMCIClassLoader(JNIEnv *env, jclass c, jobject loader); |
131 void JNICALL JVM_InitializeJVMCINatives(JNIEnv *env, jclass compilerToVMClass); | 131 void JNICALL JVM_InitializeJVMCINatives(JNIEnv *env, jclass compilerToVMClass); |
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); |
141 static JNINativeMethod lookup_special_native_methods[] = { | 141 static JNINativeMethod lookup_special_native_methods[] = { |
142 { CC"Java_sun_misc_Unsafe_registerNatives", NULL, FN_PTR(JVM_RegisterUnsafeMethods) }, | 142 { CC"Java_sun_misc_Unsafe_registerNatives", NULL, FN_PTR(JVM_RegisterUnsafeMethods) }, |
143 { CC"Java_java_lang_invoke_MethodHandleNatives_registerNatives", NULL, FN_PTR(JVM_RegisterMethodHandleMethods) }, | 143 { CC"Java_java_lang_invoke_MethodHandleNatives_registerNatives", NULL, FN_PTR(JVM_RegisterMethodHandleMethods) }, |
144 { CC"Java_sun_misc_Perf_registerNatives", NULL, FN_PTR(JVM_RegisterPerfMethods) }, | 144 { CC"Java_sun_misc_Perf_registerNatives", NULL, FN_PTR(JVM_RegisterPerfMethods) }, |
145 { CC"Java_sun_hotspot_WhiteBox_registerNatives", NULL, FN_PTR(JVM_RegisterWhiteBoxMethods) }, | 145 { CC"Java_sun_hotspot_WhiteBox_registerNatives", NULL, FN_PTR(JVM_RegisterWhiteBoxMethods) }, |
146 #ifdef JVMCI | 146 #if INCLUDE_JVMCI |
147 { CC"Java_jdk_internal_jvmci_service_JVMCIClassLoaderFactory_init", NULL, FN_PTR(JVM_InitJVMCIClassLoader) }, | 147 { CC"Java_jdk_internal_jvmci_service_JVMCIClassLoaderFactory_init", NULL, FN_PTR(JVM_InitJVMCIClassLoader) }, |
148 { CC"Java_jdk_internal_jvmci_runtime_JVMCI_initializeRuntime", NULL, FN_PTR(JVM_GetJVMCIRuntime) }, | 148 { CC"Java_jdk_internal_jvmci_runtime_JVMCI_initializeRuntime", NULL, FN_PTR(JVM_GetJVMCIRuntime) }, |
149 { CC"Java_jdk_internal_jvmci_service_Services_getServiceImpls", NULL, FN_PTR(JVM_GetJVMCIServiceImpls) }, | 149 { CC"Java_jdk_internal_jvmci_service_Services_getServiceImpls", NULL, FN_PTR(JVM_GetJVMCIServiceImpls) }, |
150 { CC"Java_jdk_internal_jvmci_hotspot_CompilerToVMImpl_init", NULL, FN_PTR(JVM_InitializeJVMCINatives) }, | 150 { CC"Java_jdk_internal_jvmci_hotspot_CompilerToVMImpl_init", NULL, FN_PTR(JVM_InitializeJVMCINatives) }, |
151 #endif | 151 #endif |