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 method is called by the controller upon dequeuing this
event from the controller input queue. |
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 method is called by the controller upon dequeuing this
event from the controller input queue.
In this case, the method simply passes the event to the recompilation strategy.
- Specified by:
process
in interface ControllerInputEvent