((VM_HardwarePerformanceMonitor)producer).notifyAppComplete(app);
hpm.notifyAppComplete(app);
  public void notifyAppComplete(String app)  {    if (VM_HardwarePerformanceMonitors.hpm_trace) {      if(VM_HardwarePerformanceMonitors.verbose>=2){ VM.sysWriteln("VM_TraceWriter.notifyAppComplete(",app,") PID ",pid); }      if (trace_file == null) {	VM.sysWrite(  "\n***VM_TraceWriter.notifyAppComplete(",app,") PID ",pid);	VM.sysWriteln(" trace_file == null! notifyAppStart() never called!***\n");	return;	//	VM.sysExit(-1);      }      ((VM_HardwarePerformanceMonitor)producer).notifyAppComplete(app);    }  }