VM_RuntimeMeasurements.installMethodListener(listener); listener.activate();
VM_RuntimeMeasurements.installMethodListener((VM_MethodListener)listener);
  public void initialize() {    if (VM.LogAOSEvents)       VM_AOSLogging.methodSampleOrganizerThreadStarted(filterOptLevel);    // Install and activate my listener    VM_RuntimeMeasurements.installMethodListener(listener);    listener.activate();  }