X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cc67df97c8f3d71f7903883554738375d899f6b6..0062810c4d947182d063333a1e949f89a3647dd8:/src/jmsg.c diff --git a/src/jmsg.c b/src/jmsg.c index 37c77b30d8..41d7f36d0a 100644 --- a/src/jmsg.c +++ b/src/jmsg.c @@ -135,16 +135,14 @@ JNIEXPORT void JNICALL jobject jhost; /* Run everything */ - XBT_INFO("Ready to run MSG_MAIN"); + XBT_DEBUG("Ready to run MSG_MAIN"); rv = MSG_main(); - XBT_INFO("Done running MSG_MAIN"); + XBT_DEBUG("Done running MSG_MAIN"); jxbt_check_res("MSG_main()", rv, MSG_OK, bprintf ("unexpected error : MSG_main() failed .. please report this bug ")); - XBT_INFO("MSG_main finished"); - - XBT_INFO("Clean java world"); + XBT_INFO("MSG_main finished; Cleaning up the simulation..."); /* Cleanup java hosts */ hosts = MSG_hosts_as_dynar(); for (index = 0; index < xbt_dynar_length(hosts) - 1; index++) { @@ -154,16 +152,6 @@ JNIEXPORT void JNICALL } xbt_dynar_free(&hosts); - XBT_INFO("Clean native world"); -} -JNIEXPORT void JNICALL - JNICALL Java_org_simgrid_msg_Msg_clean(JNIEnv * env, jclass cls) -{ - /* cleanup native stuff. Calling it is ... useless since leaking memory at the end of the simulation is a non-issue */ - msg_error_t rv = MSG_OK != MSG_clean(); - jxbt_check_res("MSG_clean()", rv, MSG_OK, - bprintf - ("unexpected error : MSG_clean() failed .. please report this bug ")); } JNIEXPORT void JNICALL