Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
integrate Adrien's example for Java VM energy as a tesh test
[simgrid.git] / src / bindings / java / jmsg_vm.cpp
index 84e8058..2d2b382 100644 (file)
@@ -168,6 +168,7 @@ Java_org_simgrid_msg_VM_get_pm(JNIEnv *env, jobject jvm) {
   msg_host_t host = MSG_vm_get_pm(vm);
 
   if (!host->extension(JAVA_HOST_LEVEL)) {
+    THROW_DEADCODE;
     /* the native host not yet associated with the java host instance */
 
     /* instanciate a new java host instance */