m.getDeclaringClass().resetMethod(cm);
synchronized(cm) { if (cm.isInvalid()) { if (TRACE || DEBUG) report("\tcmid was alrady invalid; nothing more to do\n"); return; }
  private void invalidate(VM_CompiledMethod cm) {    VM_Method m = cm.getMethod();    if (TRACE || DEBUG)      report("CLDM: Invalidating compiled method " + cm.getId() + "(" + m + ")\n");    // (1) Blow away information about this now invalid compiled     //     method being held on the VM_Method    m.clearMostRecentCompilation();    // (2) Reset all jtoc or TIB entries that point to the     //     now invalid compiled method.    m.getDeclaringClass().resetMethod(cm);    //-#if RVM_FOR_IA32    // (3) Apply any code patches    VM_OptCompilerInfo info = (VM_OptCompilerInfo)cm.getCompilerInfo();    info.applyCodePatches(cm);    //-#endif  }