org.jikesrvm.adaptive
Class OSROrganizerThread
java.lang.Object
org.jikesrvm.scheduler.SystemThread
org.jikesrvm.adaptive.OSROrganizerThread
public final class OSROrganizerThread
- extends SystemThread
Organizer thread collects OSR requests and inserted in controller queue
The producers are application threads, and the consumer thread is the
organizer. The buffer is RVMThread.threads array. The producer set
it is own flag "requesting_osr" and notify the consumer. The consumer
scans the threads array and collect requests.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
osr_flag
public boolean osr_flag
OSROrganizerThread
public OSROrganizerThread()
- Constructor
run
public void run()
- Specified by:
run
in class SystemThread
activate
public void activate()
- Activates organizer thread if it is waiting.
processOsrRequest
private void processOsrRequest()