public void collectionPhase(int phaseId, boolean participating, boolean primary) { if (phaseId == SS.PREPARE) { super.collectionPhase(phaseId, participating, primary); return; }  if (phaseId == GCTrace.START_CLOSURE) { inducedTrace.startTrace(); return; }  if (phaseId == GCTrace.COMPLETE_CLOSURE) { inducedTrace.completeTrace(); return; }  if (phaseId == GCTrace.RELEASE) { inducedTrace.release(); if (!GCTrace.traceInducedGC) { super.collectionPhase(phaseId, participating, primary); } return; }   if (!GCTrace.traceInducedGC || ((phaseId != StopTheWorld.SOFT_REFS) && (phaseId != StopTheWorld.WEAK_REFS) && (phaseId != StopTheWorld.PHANTOM_REFS) && (phaseId != StopTheWorld.FORWARD_REFS) && (phaseId != StopTheWorld.FORWARD_FINALIZABLE) && (phaseId != StopTheWorld.FINALIZABLE))) {  super.collectionPhase(phaseId, participating, primary); return; } }
public void collectionPhase(int phaseId, boolean primary) { if (phaseId == SS.PREPARE) { super.collectionPhase(phaseId, primary); return; }  if (phaseId == GCTrace.START_CLOSURE) { inducedTrace.startTrace(); return; }  if (phaseId == GCTrace.COMPLETE_CLOSURE) { inducedTrace.completeTrace(); return; }  if (phaseId == GCTrace.RELEASE) { inducedTrace.release(); if (!GCTrace.traceInducedGC) { super.collectionPhase(phaseId, primary); } return; }   if (!GCTrace.traceInducedGC || ((phaseId != StopTheWorld.SOFT_REFS) && (phaseId != StopTheWorld.WEAK_REFS) && (phaseId != StopTheWorld.PHANTOM_REFS) && (phaseId != StopTheWorld.FORWARD_REFS) && (phaseId != StopTheWorld.FORWARD_FINALIZABLE) && (phaseId != StopTheWorld.FINALIZABLE))) {  super.collectionPhase(phaseId, primary); return; } }
	public void collectionPhase(int phaseId, boolean participating, boolean primary) {		if (phaseId == SS.PREPARE) {			super.collectionPhase(phaseId, participating, primary);			return;		} 				if (phaseId == GCTrace.START_CLOSURE) {			inducedTrace.startTrace();			return;		} 				if (phaseId == GCTrace.COMPLETE_CLOSURE) {			inducedTrace.completeTrace();			return;		}				if (phaseId == GCTrace.RELEASE) {			inducedTrace.release();			if (!GCTrace.traceInducedGC) {				super.collectionPhase(phaseId, participating, primary);        			}			return;		} 				/* fall through case */		if (!GCTrace.traceInducedGC ||				((phaseId != StopTheWorld.SOFT_REFS) &&			   (phaseId != StopTheWorld.WEAK_REFS) &&				 (phaseId != StopTheWorld.PHANTOM_REFS) &&				 (phaseId != StopTheWorld.FORWARD_REFS) &&				 (phaseId != StopTheWorld.FORWARD_FINALIZABLE) &&				 (phaseId != StopTheWorld.FINALIZABLE))) {			// Delegate up.			super.collectionPhase(phaseId, participating, primary);			return;		}	}