org.jikesrvm.adaptive.measurements.organizers
Class DecayOrganizer

java.lang.Object
  extended by org.jikesrvm.scheduler.SystemThread
      extended by org.jikesrvm.adaptive.measurements.organizers.Organizer
          extended by org.jikesrvm.adaptive.measurements.organizers.DecayOrganizer

public final class DecayOrganizer
extends Organizer

An organizer that periodically decays runtime counters


Field Summary
 
Fields inherited from class org.jikesrvm.adaptive.measurements.organizers.Organizer
listener
 
Fields inherited from class org.jikesrvm.scheduler.SystemThread
rvmThread
 
Constructor Summary
DecayOrganizer(YieldCounterListener listener)
           
 
Method Summary
 void initialize()
          Initialization: install and activate our listener.
(package private)  void thresholdReached()
          Decays the decayable objects.
 
Methods inherited from class org.jikesrvm.adaptive.measurements.organizers.Organizer
activate, report, run
 
Methods inherited from class org.jikesrvm.scheduler.SystemThread
getRVMThread, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecayOrganizer

public DecayOrganizer(YieldCounterListener listener)
Parameters:
listener - the associated listener
Method Detail

initialize

public void initialize()
Initialization: install and activate our listener.

Specified by:
initialize in class Organizer

thresholdReached

void thresholdReached()
Decays the decayable objects.

Specified by:
thresholdReached in class Organizer