Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalVMEntries.cpp @ 3708:54d4c210a34e
Remove recordBailout method. Remove GraalBailoutIsFatal flag.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 02 Dec 2011 17:46:54 +0100 |
parents | 50a1d38cd7ac |
children | feb590a8497f |
comparison
equal
deleted
inserted
replaced
3707:0ac36a6d5ab0 | 3708:54d4c210a34e |
---|---|
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 recordBailout(String reason); | |
978 JNIEXPORT void JNICALL Java_com_oracle_graal_hotspot_VMEntries_recordBailout(JNIEnv *jniEnv, jobject, jobject message) { | |
979 if (GraalBailoutIsFatal) { | |
980 Handle msg = JNIHandles::resolve(message); | |
981 if (!msg.is_null()) { | |
982 java_lang_String::print(msg, tty); | |
983 } | |
984 vm_abort(false); | |
985 } | |
986 } | |
987 | |
988 // public void notifyJavaQueue(); | 977 // public void notifyJavaQueue(); |
989 JNIEXPORT void JNICALL Java_com_oracle_graal_hotspot_VMEntries_notifyJavaQueue(JNIEnv *jniEnv, jobject) { | 978 JNIEXPORT void JNICALL Java_com_oracle_graal_hotspot_VMEntries_notifyJavaQueue(JNIEnv *jniEnv, jobject) { |
990 CompileBroker::notify_java_queue(); | 979 CompileBroker::notify_java_queue(); |
991 } | 980 } |
992 | 981 |
1050 {CC"getMaxCallTargetOffset", CC"("CI_RUNTIME_CALL")J", FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getMaxCallTargetOffset)}, | 1039 {CC"getMaxCallTargetOffset", CC"("CI_RUNTIME_CALL")J", FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getMaxCallTargetOffset)}, |
1051 {CC"getType", CC"("CLASS")"TYPE, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getType)}, | 1040 {CC"getType", CC"("CLASS")"TYPE, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getType)}, |
1052 {CC"getConfiguration", CC"()"CONFIG, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getConfiguration)}, | 1041 {CC"getConfiguration", CC"()"CONFIG, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_getConfiguration)}, |
1053 {CC"installMethod", CC"("TARGET_METHOD"Z)"HS_COMP_METHOD, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_installMethod)}, | 1042 {CC"installMethod", CC"("TARGET_METHOD"Z)"HS_COMP_METHOD, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_installMethod)}, |
1054 {CC"installStub", CC"("TARGET_METHOD")"PROXY, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_installStub)}, | 1043 {CC"installStub", CC"("TARGET_METHOD")"PROXY, FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_installStub)}, |
1055 {CC"recordBailout", CC"("STRING")V", FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_recordBailout)}, | |
1056 {CC"notifyJavaQueue", CC"()V", FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_notifyJavaQueue)} | 1044 {CC"notifyJavaQueue", CC"()V", FN_PTR(Java_com_oracle_graal_hotspot_VMEntries_notifyJavaQueue)} |
1057 }; | 1045 }; |
1058 | 1046 |
1059 int VMEntries_methods_count() { | 1047 int VMEntries_methods_count() { |
1060 return sizeof(VMEntries_methods) / sizeof(JNINativeMethod); | 1048 return sizeof(VMEntries_methods) / sizeof(JNINativeMethod); |