java.lang.ref
Class Finalizer
java.lang.Object
java.lang.ref.Reference
java.lang.ref.FinalReference
java.lang.ref.Finalizer
- final class Finalizer
- extends FinalReference
Nested classes inherited from class java.lang.ref.Reference |
|
Fields inherited from class java.lang.ref.Reference |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
queue
private static ReferenceQueue queue
unfinalized
private static Finalizer unfinalized
lock
private static Object lock
next
private Finalizer next
prev
private Finalizer prev
Finalizer
private Finalizer(Object finalizee)
invokeFinalizeMethod
static void invokeFinalizeMethod(Object o)
throws Throwable
- Throws:
Throwable
hasBeenFinalized
private boolean hasBeenFinalized()
add
private void add()
remove
private void remove()
register
static void register(Object finalizee)
runFinalizer
private void runFinalizer()
forkSecondaryFinalizer
private static void forkSecondaryFinalizer(Runnable proc)
runFinalization
static void runFinalization()
runAllFinalizers
static void runAllFinalizers()