|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mmtk.plan.MutatorContext
org.mmtk.plan.SimpleMutator
org.mmtk.plan.StopTheWorldMutator
org.mmtk.plan.generational.GenMutator
org.mmtk.plan.generational.immix.GenImmixMutator
org.jikesrvm.mm.mminterface.Selected.Mutator
org.jikesrvm.mm.mminterface.ThreadContext
org.jikesrvm.scheduler.RVMThread
org.jikesrvm.adaptive.measurements.organizers.Organizer
public abstract class Organizer
An Organizer acts an an intermediary between the low level online measurements and the controller. An organizer may perform simple or complex tasks, but it is always simply following the instructions given by the controller.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jikesrvm.scheduler.RVMThread |
|---|
RVMThread.BlockAdapter, RVMThread.GCBlockAdapter, RVMThread.HandshakeBlockAdapter, RVMThread.HardHandshakeVisitor, RVMThread.SoftHandshakeVisitor, RVMThread.SuspendBlockAdapter, RVMThread.Waiting |
| Field Summary | |
|---|---|
private Latch |
latch
A latch used for activate/passivate. |
protected Listener |
listener
The listener associated with this organizer. |
| Fields inherited from class org.jikesrvm.mm.mminterface.ThreadContext |
|---|
collectorContext |
| Fields inherited from class org.mmtk.plan.generational.GenMutator |
|---|
arrayRemset, nursery, remset |
| Fields inherited from class org.mmtk.plan.MutatorContext |
|---|
immortal, lgcode, log, los, nonmove, smcode |
| Constructor Summary | |
|---|---|
Organizer()
Constructor |
|
| Method Summary | |
|---|---|
void |
activate()
Called to activate the organizer thread (ie schedule it for execution). |
protected abstract void |
initialize()
Organizer specific setup. |
private void |
passivate()
|
void |
report()
Last opportunity to say something. |
void |
run()
Called when thread is scheduled. |
(package private) abstract void |
thresholdReached()
Method that is called when the sampling threshold is reached |
| Methods inherited from class org.jikesrvm.mm.mminterface.Selected.Mutator |
|---|
get, getThread |
| Methods inherited from class org.mmtk.plan.generational.immix.GenImmixMutator |
|---|
alloc, collectionPhase, getAllocatorFromSpace, postAlloc |
| Methods inherited from class org.mmtk.plan.generational.GenMutator |
|---|
assertRemsetsFlushed, flushRememberedSets, objectReferenceBulkCopy, objectReferenceNonHeapWrite, objectReferenceTryCompareAndSwap, objectReferenceWrite |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Listener listener
private final Latch latch
| Constructor Detail |
|---|
public Organizer()
| Method Detail |
|---|
public void run()
run in class RVMThreadpublic void report()
abstract void thresholdReached()
protected abstract void initialize()
private void passivate()
public void activate()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||