org.jikesrvm.adaptive
Class OnStackReplacementEvent

java.lang.Object
  extended by org.jikesrvm.adaptive.OnStackReplacementEvent
All Implemented Interfaces:
ControllerInputEvent

public final class OnStackReplacementEvent
extends Object
implements ControllerInputEvent

Event generated by a thread aware of on-stack-replacement request. The event is feed to the controller with suspended thread, and hot method id. Since it does not need to go through analytic model, it does not extend the HotMethodEvent.


Field Summary
 int CMID
          the compiled method id
 RVMThread suspendedThread
          the suspended thread.
 Offset tsFromFPoff
          the threadSwithFrom fp offset
 int whereFrom
          remember where it comes from
 Offset ypTakenFPoff
          the osr method's fp offset
 
Constructor Summary
OnStackReplacementEvent()
           
 
Method Summary
 void process()
          This function will generate a controller plan and inserted in the recompilation queue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

suspendedThread

public RVMThread suspendedThread
the suspended thread.


whereFrom

public int whereFrom
remember where it comes from


CMID

public int CMID
the compiled method id


tsFromFPoff

public Offset tsFromFPoff
the threadSwithFrom fp offset


ypTakenFPoff

public Offset ypTakenFPoff
the osr method's fp offset

Constructor Detail

OnStackReplacementEvent

public OnStackReplacementEvent()
Method Detail

process

public void process()
This function will generate a controller plan and inserted in the recompilation queue.

Specified by:
process in interface ControllerInputEvent