if (!Options.noReferenceTypes) { if (designated) Statistics.refTypeTime.start(); if (designated) ReferenceProcessor.movePhantomReferencesToReadyList(); if (designated) Statistics.refTypeTime.stop(); }
if (!Options.noReferenceTypes) { if (designated) Statistics.refTypeTime.start(); if (designated) ReferenceProcessor.movePhantomReferencesToReadyList(); if (designated) Statistics.refTypeTime.stop(); }  if (!Options.noReferenceTypes || !Options.noFinalizer) {
  public void collect () {    boolean designated = (VM_CollectorThread.gcBarrier.rendezvous() == 1);    if (designated) Statistics.initTime.start();    prepare();            if (designated) Statistics.initTime.stop();    if (designated) Statistics.rootTime.start();    VM_Interface.computeAllRoots(rootLocations, interiorRootLocations);    if (designated) Statistics.rootTime.stop();    if (designated) Statistics.scanTime.start();    processAllWork();     if (designated) Statistics.scanTime.stop();    if (!Options.noReferenceTypes) {      if (designated) Statistics.refTypeTime.start();      if (designated) ReferenceProcessor.moveSoftReferencesToReadyList();      if (designated) ReferenceProcessor.moveWeakReferencesToReadyList();      if (designated) Statistics.refTypeTime.stop();    }     if (Options.noFinalizer) {      if (designated) Finalizer.kill();    } else {      if (designated) Statistics.finalizeTime.start();      if (designated) Finalizer.moveToFinalizable();       VM_CollectorThread.gcBarrier.rendezvous();      if (designated) Statistics.finalizeTime.stop();            if (!Options.noReferenceTypes) {	if (designated) Statistics.refTypeTime.start();	if (designated) ReferenceProcessor.movePhantomReferencesToReadyList();	if (designated) Statistics.refTypeTime.stop();      }            if (designated) Statistics.scanTime.start();      processAllWork();      if (designated) Statistics.scanTime.stop();    }    if (designated) Statistics.finishTime.start();    release();    if (designated) Statistics.finishTime.stop();    if (designated) printStats();  }