|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mmtk.plan.Phase org.mmtk.plan.ConcurrentPhase
public final class ConcurrentPhase
Phases of a garbage collection.
A concurrent phase runs concurrently with mutator activity.
Field Summary | |
---|---|
private int |
atomicScheduledPhase
The atomic scheduled phase to use when concurrent collection is not allowed |
Fields inherited from class org.mmtk.plan.Phase |
---|
id, name, SCHEDULE_COLLECTOR, SCHEDULE_COMPLEX, SCHEDULE_CONCURRENT, SCHEDULE_GLOBAL, SCHEDULE_MUTATOR, SCHEDULE_PLACEHOLDER, timer |
Constructor Summary | |
---|---|
protected |
ConcurrentPhase(String name,
int atomicScheduledPhase)
Construct a complex phase from an array of phase IDs. |
protected |
ConcurrentPhase(String name,
Timer timer,
int atomicScheduledPhase)
Construct a complex phase from an array of phase IDs, but using the specified timer rather than creating one. |
Method Summary | |
---|---|
protected int |
getAtomicScheduledPhase()
Return the atomic schedule phase, to be used in place of this phase when concurrent collection is not available. |
protected void |
logPhase()
Display a description of this phase, for debugging purposes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final int atomicScheduledPhase
Constructor Detail |
---|
protected ConcurrentPhase(String name, int atomicScheduledPhase)
name
- The name of the phase.atomicScheduledPhase
- The atomic scheduled phaseprotected ConcurrentPhase(String name, Timer timer, int atomicScheduledPhase)
name
- The name of the phase.timer
- The timer for this phase to contribute to.atomicScheduledPhase
- The atomic scheduled phaseMethod Detail |
---|
protected void logPhase()
Phase
logPhase
in class Phase
protected int getAtomicScheduledPhase()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |