Mercurial > hg > truffle
comparison src/share/vm/prims/nativeLookup.cpp @ 18614:c307546c7b0a
made initialization of the Graal class loader and well known Graal classes lazy
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 04 Dec 2014 13:42:56 +0100 |
parents | 52b4284cb496 |
children | db0af0d8d623 |
comparison
equal
deleted
inserted
replaced
18613:8c3a85077f84 | 18614:c307546c7b0a |
---|---|
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 GRAAL | 129 #ifdef GRAAL |
130 void JNICALL JVM_InitGraalClassLoader(JNIEnv *env, jclass c, jobject loader); | |
130 void JNICALL JVM_InitializeGraalNatives(JNIEnv *env, jclass compilerToVMClass); | 131 void JNICALL JVM_InitializeGraalNatives(JNIEnv *env, jclass compilerToVMClass); |
131 jobject JNICALL JVM_GetGraalRuntime(JNIEnv *env, jclass c); | 132 jobject JNICALL JVM_GetGraalRuntime(JNIEnv *env, jclass c); |
132 jobject JNICALL JVM_GetGraalServiceImpls(JNIEnv *env, jclass c); | 133 jobject JNICALL JVM_GetGraalServiceImpls(JNIEnv *env, jclass c); |
133 jobject JNICALL JVM_CreateTruffleRuntime(JNIEnv *env, jclass c); | 134 jobject JNICALL JVM_CreateTruffleRuntime(JNIEnv *env, jclass c); |
134 jobject JNICALL JVM_CreateNativeFunctionInterface(JNIEnv *env, jclass c); | 135 jobject JNICALL JVM_CreateNativeFunctionInterface(JNIEnv *env, jclass c); |
146 { CC"Java_sun_misc_Unsafe_registerNatives", NULL, FN_PTR(JVM_RegisterUnsafeMethods) }, | 147 { CC"Java_sun_misc_Unsafe_registerNatives", NULL, FN_PTR(JVM_RegisterUnsafeMethods) }, |
147 { CC"Java_java_lang_invoke_MethodHandleNatives_registerNatives", NULL, FN_PTR(JVM_RegisterMethodHandleMethods) }, | 148 { CC"Java_java_lang_invoke_MethodHandleNatives_registerNatives", NULL, FN_PTR(JVM_RegisterMethodHandleMethods) }, |
148 { CC"Java_sun_misc_Perf_registerNatives", NULL, FN_PTR(JVM_RegisterPerfMethods) }, | 149 { CC"Java_sun_misc_Perf_registerNatives", NULL, FN_PTR(JVM_RegisterPerfMethods) }, |
149 { CC"Java_sun_hotspot_WhiteBox_registerNatives", NULL, FN_PTR(JVM_RegisterWhiteBoxMethods) }, | 150 { CC"Java_sun_hotspot_WhiteBox_registerNatives", NULL, FN_PTR(JVM_RegisterWhiteBoxMethods) }, |
150 #ifdef GRAAL | 151 #ifdef GRAAL |
152 { CC"Java_com_oracle_graal_hotspot_loader_Factory_init", NULL, FN_PTR(JVM_InitGraalClassLoader) }, | |
151 { CC"Java_com_oracle_graal_api_runtime_Graal_initializeRuntime", NULL, FN_PTR(JVM_GetGraalRuntime) }, | 153 { CC"Java_com_oracle_graal_api_runtime_Graal_initializeRuntime", NULL, FN_PTR(JVM_GetGraalRuntime) }, |
152 { CC"Java_com_oracle_graal_api_runtime_Services_getServiceImpls", NULL, FN_PTR(JVM_GetGraalServiceImpls) }, | 154 { CC"Java_com_oracle_graal_api_runtime_Services_getServiceImpls", NULL, FN_PTR(JVM_GetGraalServiceImpls) }, |
153 { 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) }, |
154 { 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) }, |
155 { CC"Java_com_oracle_graal_hotspot_bridge_CompilerToVMImpl_init", NULL, FN_PTR(JVM_InitializeGraalNatives) }, | 157 { CC"Java_com_oracle_graal_hotspot_bridge_CompilerToVMImpl_init", NULL, FN_PTR(JVM_InitializeGraalNatives) }, |