ReferenceProcessor.moveSoftReferencesToReadyList(); ReferenceProcessor.moveWeakReferencesToReadyList();
if (designated) ReferenceProcessor.moveSoftReferencesToReadyList(); if (designated) ReferenceProcessor.moveWeakReferencesToReadyList();
  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();    ReferenceProcessor.moveSoftReferencesToReadyList();    ReferenceProcessor.moveWeakReferencesToReadyList();     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();    ReferenceProcessor.movePhantomReferencesToReadyList();    if (designated) Statistics.scanTime.start();    processAllWork();    if (designated) Statistics.scanTime.stop();    }    if (designated) Statistics.finishTime.start();    release();    if (designated) Statistics.finishTime.stop();  }