if (VM_ClassLoader.getCompiledMethod(id) == null) { VM.sysWrite("MethodListener.thresholdReached: Found a cmid ("); VM.sysWrite(id, false); VM.sysWrite(") with a null compiled method, exiting\n"); VM.sysWrite("sample index: "); VM.sysWrite(i, false); VM.sysWrite("\n"); throw new RuntimeException(); }
  public void thresholdReached() {    int numSamples = getNumSamples();    for (int i=0; i<numSamples; i++) {      int id = samples[i];      if (VM_ClassLoader.getCompiledMethod(id) == null) {	VM.sysWrite("MethodListener.thresholdReached: Found a cmid (");	VM.sysWrite(id, false);	VM.sysWrite(") with a null compiled method, exiting\n");	VM.sysWrite("sample index: ");	VM.sysWrite(i, false);	VM.sysWrite("\n");	throw new RuntimeException();      }    }    if (notifyOrganizer) {      notifyOrganizer();    } else {      processSamples();      reset();      activate();    }  }