org.jikesrvm.adaptive.controller
Class HotMethodRecompilationEvent
java.lang.Object
org.jikesrvm.adaptive.controller.HotMethodEvent
org.jikesrvm.adaptive.controller.HotMethodRecompilationEvent
- All Implemented Interfaces:
- ControllerInputEvent
public final class HotMethodRecompilationEvent
- extends HotMethodEvent
- implements ControllerInputEvent
Event used by the basic recompilation organizer
to notify the controller that a method is hot.
|
Method Summary |
void |
process()
This function defines how the controller handles a
HotMethodRecompilationEvent. |
String |
toString()
|
HotMethodRecompilationEvent
public HotMethodRecompilationEvent(CompiledMethod _cm,
double _numSamples)
- Parameters:
_cm - the compiled method_numSamples - the number of samples attributed to the method
HotMethodRecompilationEvent
HotMethodRecompilationEvent(CompiledMethod _cm,
int _numSamples)
- Parameters:
_cm - the compiled method_numSamples - the number of samples attributed to the method
toString
public String toString()
- Overrides:
toString in class HotMethodEvent
process
public void process()
- This function defines how the controller handles a
HotMethodRecompilationEvent. Simply passes the event to the
recompilation strategy.
- Specified by:
process in interface ControllerInputEvent