VM.sysWrite(msg);
  public static synchronized int recompileWithOpt(OPT_CompilationPlan plan) {    if (compilationInProgress) {      return -1;    } else {      try {        compilationInProgress = true;        VM_CompiledMethod cm = optCompile(plan.method, plan);        try {          plan.method.replaceCompiledMethod(cm);        } catch (Throwable e) {          String msg = "Failure in VM_Method.replaceCompiledMethod (via recompileWithOpt): while replacing \"" + plan.method + "\" (error was: " + e + ")\n";           if (VM.ErrorsFatal) {            e.printStackTrace();            VM.sysFail(msg);          } else {            VM.sysWrite(msg);          }          return -1;        }        return cm.getId();      } catch (OPT_OptimizingCompilerException e) {        String msg = "Optimizing compiler (via recompileWithOpt): can't optimize \"" + plan.method + "\" (error was: " + e + ")\n";         if (e.isFatal && VM.ErrorsFatal) {          e.printStackTrace();          VM.sysFail(msg);        } else {          // VM.sysWrite(msg);        }        return -1;      } finally {        compilationInProgress = false;      }    }  }