org.jikesrvm.mm.mmtk
Class ActivePlan
java.lang.Object
org.mmtk.vm.ActivePlan
org.jikesrvm.mm.mmtk.ActivePlan
public final class ActivePlan
- extends ActivePlan
This class contains interfaces to access the current plan, plan local and
plan constraints instances.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mutatorCounter
private static SynchronizedCounter mutatorCounter
ActivePlan
public ActivePlan()
global
public Plan global()
- Specified by:
global in class ActivePlan
- Returns:
- The active Plan instance.
constraints
public PlanConstraints constraints()
- Specified by:
constraints in class ActivePlan
- Returns:
- The active PlanConstraints instance.
collectorCount
public int collectorCount()
- Specified by:
collectorCount in class ActivePlan
- Returns:
- The number of registered CollectorContext instances.
collector
public CollectorContext collector()
- Specified by:
collector in class ActivePlan
- Returns:
- The active CollectorContext instance.
mutator
public MutatorContext mutator()
- Specified by:
mutator in class ActivePlan
- Returns:
- The active MutatorContext instance.
log
public Log log()
- Specified by:
log in class ActivePlan
- Returns:
- The log for the active thread
resetMutatorIterator
public void resetMutatorIterator()
- Reset the mutator iterator
- Specified by:
resetMutatorIterator in class ActivePlan
getNextMutator
public MutatorContext getNextMutator()
- Return the next
MutatorContext in a
synchronized iteration of all mutators.
- Specified by:
getNextMutator in class ActivePlan
- Returns:
- The next
MutatorContext in a
synchronized iteration of all mutators, or
null when all mutators have been done.