public static VM_ControllerPlan findMatchingPlan(VM_CompiledMethod cmpMethod) {
public static synchronized VM_ControllerPlan findMatchingPlan(VM_CompiledMethod cmpMethod) {
  public static VM_ControllerPlan findMatchingPlan(VM_CompiledMethod cmpMethod) {    VM_Method method = cmpMethod.getMethod();    LinkedList planList = findPlan(method);    if (planList == null) {      return null;    } else{      // iterate over the planList until we get to this item      boolean found = false;      VM_ControllerPlan curPlan = null;      synchronized(planList) {	ListIterator iter = planList.listIterator();	while (iter.hasNext()) {	  curPlan = (VM_ControllerPlan) iter.next();	  // exit when we find ourselves	  if (curPlan.getCMID() == cmpMethod.getId()) {	    found = true;	    break;	  }	} // more to process      }      if (!found) {	// there was a plan for this method, but not for this compiled method	curPlan = null;      }      return curPlan;    }  }