org.jikesrvm.adaptive.controller
Class HotMethodEvent
java.lang.Object
org.jikesrvm.adaptive.controller.HotMethodEvent
- Direct Known Subclasses:
- AINewHotEdgeEvent, HotMethodRecompilationEvent
public abstract class HotMethodEvent
- extends Object
Abstract parent class for events from organizers to the controller
used to communicate that a method should be considered as a candidate
for recompilation.
Field Summary |
private CompiledMethod |
cm
The compiled method associated querries. |
private double |
numSamples
Number of samples attributed to this method. |
cm
private CompiledMethod cm
- The compiled method associated querries.
numSamples
private double numSamples
- Number of samples attributed to this method.
HotMethodEvent
HotMethodEvent(CompiledMethod _cm,
double _numSamples)
- Parameters:
_cm
- the compiled method_numSamples
- the number of samples attributed to the method
HotMethodEvent
HotMethodEvent(CompiledMethod _cm,
int _numSamples)
- Parameters:
_cm
- the compiled method_numSamples
- the number of samples attributed to the method
getCMID
public final int getCMID()
getCompiledMethod
public final CompiledMethod getCompiledMethod()
getMethod
public final RVMMethod getMethod()
isOptCompiled
public final boolean isOptCompiled()
getOptCompiledLevel
public final int getOptCompiledLevel()
getPrevCompilerConstant
public final int getPrevCompilerConstant()
getNumSamples
public final double getNumSamples()
toString
public String toString()
- Overrides:
toString
in class Object