comparison src/share/vm/graal/graalVMEntries.cpp @ 4139:feb590a8497f

remove pollJavaQueue and related functionality, minimize diff against HotSpot in the compileBroker.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sun, 18 Dec 2011 00:41:15 +0100
parents 54d4c210a34e
children a428df0139f3
comparison
equal deleted inserted replaced
4138:82af018d61db 4139:feb590a8497f
972 ciEnv env(&arena); 972 ciEnv env(&arena);
973 CodeInstaller installer(targetMethodHandle, id); 973 CodeInstaller installer(targetMethodHandle, id);
974 return id; 974 return id;
975 } 975 }
976 976
977 // public void notifyJavaQueue();
978 JNIEXPORT void JNICALL Java_com_oracle_graal_hotspot_VMEntries_notifyJavaQueue(JNIEnv *jniEnv, jobject) {
979 CompileBroker::notify_java_queue();
980 }
981
982
983 977
984 978
985 #define CC (char*) /*cast a literal from (const char*)*/ 979 #define CC (char*) /*cast a literal from (const char*)*/
986 #define FN_PTR(f) CAST_FROM_FN_PTR(void*, &f) 980 #define FN_PTR(f) CAST_FROM_FN_PTR(void*, &f)
987 981
1038 {CC"getPrimitiveArrayType", CC"("CI_KIND")"TYPE, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getPrimitiveArrayType)}, 1032 {CC"getPrimitiveArrayType", CC"("CI_KIND")"TYPE, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getPrimitiveArrayType)},
1039 {CC"getMaxCallTargetOffset", CC"("CI_RUNTIME_CALL")J", FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getMaxCallTargetOffset)}, 1033 {CC"getMaxCallTargetOffset", CC"("CI_RUNTIME_CALL")J", FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getMaxCallTargetOffset)},
1040 {CC"getType", CC"("CLASS")"TYPE, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getType)}, 1034 {CC"getType", CC"("CLASS")"TYPE, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getType)},
1041 {CC"getConfiguration", CC"()"CONFIG, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getConfiguration)}, 1035 {CC"getConfiguration", CC"()"CONFIG, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getConfiguration)},
1042 {CC"installMethod", CC"("TARGET_METHOD"Z)"HS_COMP_METHOD, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_installMethod)}, 1036 {CC"installMethod", CC"("TARGET_METHOD"Z)"HS_COMP_METHOD, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_installMethod)},
1043 {CC"installStub", CC"("TARGET_METHOD")"PROXY, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_installStub)}, 1037 {CC"installStub", CC"("TARGET_METHOD")"PROXY, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_installStub)}
1044 {CC"notifyJavaQueue", CC"()V", FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_notifyJavaQueue)}
1045 }; 1038 };
1046 1039
1047 int VMEntries_methods_count() { 1040 int VMEntries_methods_count() {
1048 return sizeof(VMEntries_methods) / sizeof(JNINativeMethod); 1041 return sizeof(VMEntries_methods) / sizeof(JNINativeMethod);
1049 } 1042 }