org.jikesrvm.adaptive.recompilation
Class CompilationThread
java.lang.Object
org.jikesrvm.scheduler.SystemThread
org.jikesrvm.adaptive.recompilation.CompilationThread
public final class CompilationThread
- extends SystemThread
This class is a separate thread whose job is to monitor a (priority)
queue of compilation plans. Whenever the queue is nonempty, this
thread will pick the highest priority compilation plan from the queue
and invoke the OPT compiler to perform the plan.
No intelligence is contained in this class. All policy decisions are
made by the ControllerThread.
Method Summary |
void |
run()
This is the main loop of the compilation thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompilationThread
public CompilationThread()
- constructor
run
public void run()
- This is the main loop of the compilation thread. Its job is to
remove controller plans from the compilation queue and perform
them.
- Specified by:
run
in class SystemThread