org.jikesrvm.scheduler
Class FinalizerThread

java.lang.Object
  extended by org.jikesrvm.scheduler.SystemThread
      extended by org.jikesrvm.scheduler.FinalizerThread

public class FinalizerThread
extends SystemThread

Finalizer thread.

This thread is created by RVMThread.boot() at runtime startup. Its "run" method does the following:

This thread comes out of wait state via notify from the garbage collector


Field Summary
private  Object[] none
           
private static Monitor schedLock
           
private static boolean shouldRun
           
private static int verbose
           
 
Fields inherited from class org.jikesrvm.scheduler.SystemThread
rvmThread
 
Constructor Summary
FinalizerThread()
           
 
Method Summary
static void boot()
           
 void run()
          Run the finalizer thread (one per RVM)
static void schedule()
           
 
Methods inherited from class org.jikesrvm.scheduler.SystemThread
getRVMThread, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verbose

private static final int verbose
See Also:
Constant Field Values

none

private final Object[] none

shouldRun

private static boolean shouldRun

schedLock

private static Monitor schedLock
Constructor Detail

FinalizerThread

public FinalizerThread()
Method Detail

boot

public static void boot()

schedule

public static void schedule()

run

public void run()
Run the finalizer thread (one per RVM)

Specified by:
run in class SystemThread