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
buildLog
private static final Log buildLog
- Log instance used at build time
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 maximum number of collector threads that may participate in parallel GC.
collector
public CollectorContext collector()
- Specified by:
collector
in class ActivePlan
- Returns:
- The active
CollectorContext
instance.
isMutator
public boolean isMutator()
- Specified by:
isMutator
in class ActivePlan
- Returns:
- Is the active thread a mutator thread.
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()
- Description copied from class:
ActivePlan
- Reset the mutator iterator
- Specified by:
resetMutatorIterator
in class ActivePlan
getNextMutator
public MutatorContext getNextMutator()
- Description copied from class:
ActivePlan
- 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.