org.jikesrvm.mm.mmtk
Class MMTk_Events

java.lang.Object
  extended by org.mmtk.vm.MMTk_Events
      extended by org.jikesrvm.mm.mmtk.MMTk_Events

public class MMTk_Events
extends MMTk_Events

Implementation of simple MMTK event generation hooks to allow MMTk to generate TuningFork events.


Field Summary
private  TraceEngine engine
           
static MMTk_Events events
           
 EventType gcStart
           
 EventType gcStop
           
 EventType heapSizeChanged
           
 EventType pageAction
           
 
Constructor Summary
MMTk_Events(TraceEngine engine)
           
 
Method Summary
 void heapSizeChanged(Extent heapSize)
           
 void tracePageAcquired(Space space, Address startAddress, int numPages)
           
 void tracePageReleased(Space space, Address startAddress, int numPages)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

events

public static MMTk_Events events

gcStart

public final EventType gcStart

gcStop

public final EventType gcStop

pageAction

public final EventType pageAction

heapSizeChanged

public final EventType heapSizeChanged

engine

private final TraceEngine engine
Constructor Detail

MMTk_Events

public MMTk_Events(TraceEngine engine)
Method Detail

tracePageAcquired

public void tracePageAcquired(Space space,
                              Address startAddress,
                              int numPages)
Specified by:
tracePageAcquired in class MMTk_Events

tracePageReleased

public void tracePageReleased(Space space,
                              Address startAddress,
                              int numPages)
Specified by:
tracePageReleased in class MMTk_Events

heapSizeChanged

public void heapSizeChanged(Extent heapSize)
Specified by:
heapSizeChanged in class MMTk_Events