extern"C" { // Report a JNI failure caught by -Xcheck:jni. Perform a core dump. // Note: two variations -- one to be called when in VM state (e.g. when // within IN_VM macro), one to be called when in NATIVE state.
// When in VM state: staticinlinevoid ReportJNIFatalError(JavaThread* thr, constchar *msg) {
tty->print_cr("FATAL ERROR in native method: %s", msg);
thr->print_stack();
os::abort(true);
}
}
// // Checked JNI routines that are useful for outside of checked JNI //
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.