|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmtk.vm.ActivePlan
org.jikesrvm.mm.mmtk.ActivePlan
public final class ActivePlan
This class contains interfaces to access the current plan, plan local and plan constraints instances.
| Field Summary | |
|---|---|
private static int |
collectorCount
|
private static Selected.Collector[] |
collectors
|
private static int |
MAX_CONTEXTS
|
private static int |
mutatorCount
|
private static SynchronizedCounter |
mutatorCounter
|
private static Selected.Mutator[] |
mutators
|
| Constructor Summary | |
|---|---|
ActivePlan()
|
|
| Method Summary | |
|---|---|
CollectorContext |
collector()
|
CollectorContext |
collector(int id)
Return the CollectorContext instance given its unique identifier. |
int |
collectorCount()
|
PlanConstraints |
constraints()
|
static void |
flushRememberedSets()
Flush the mutator remembered sets (if any) for this active plan |
MutatorContext |
getNextMutator()
Return the next MutatorContext in a
synchronized iteration of all mutators. |
Plan |
global()
|
Log |
log()
|
MutatorContext |
mutator()
|
MutatorContext |
mutator(int id)
Return the MutatorContext instance given its unique identifier. |
int |
mutatorCount()
|
int |
registerCollector(CollectorContext collector)
Register a new CollectorContext instance. |
int |
registerMutator(MutatorContext mutator)
Register a new MutatorContext instance. |
void |
resetMutatorIterator()
Reset the mutator iterator |
Selected.Collector |
selectedCollector(int id)
Return the Selected.Collector instance given its unique identifier. |
Selected.Mutator |
selectedMutator(int id)
Return the Selected.Mutator instance given its unique identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int MAX_CONTEXTS
private static Selected.Collector[] collectors
private static int collectorCount
private static Selected.Mutator[] mutators
private static int mutatorCount
private static SynchronizedCounter mutatorCounter
| Constructor Detail |
|---|
public ActivePlan()
| Method Detail |
|---|
public Plan global()
global in class ActivePlanpublic PlanConstraints constraints()
constraints in class ActivePlanpublic CollectorContext collector()
collector in class ActivePlanpublic MutatorContext mutator()
mutator in class ActivePlanpublic Log log()
log in class ActivePlanpublic static void flushRememberedSets()
public CollectorContext collector(int id)
collector in class ActivePlanid - The identifier of the CollectorContext to return
public MutatorContext mutator(int id)
mutator in class ActivePlanid - The identifier of the MutatorContext to return
public Selected.Collector selectedCollector(int id)
id - The identifier of the Selected.Collector to return
public Selected.Mutator selectedMutator(int id)
id - The identifier of the Selected.Mutator to return
public int collectorCount()
collectorCount in class ActivePlanpublic int mutatorCount()
mutatorCount in class ActivePlanpublic void resetMutatorIterator()
resetMutatorIterator in class ActivePlanpublic MutatorContext getNextMutator()
MutatorContext in a
synchronized iteration of all mutators.
getNextMutator in class ActivePlanMutatorContext in a
synchronized iteration of all mutators, or
null when all mutators have been done.public int registerCollector(CollectorContext collector)
registerCollector in class ActivePlancollector - The CollectorContext to register
public int registerMutator(MutatorContext mutator)
registerMutator in class ActivePlanmutator - The MutatorContext to register
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||