Runtime.runFinalizersOnExit

Runtime.runFinalizersOnExit

Class Overview | Class Members | This Package | All Packages

Syntax
public static void runFinalizersOnExit( boolean value )
Description
Enable or disable finalization on exit; doing so specifies that the finalizers of all objects that have finalizers that have not yet been automatically invoked are to be run before the Java runtime exits. By default, finalization on exit is disabled. An invocation of the runFinalizersOnExit method is permitted only if the caller is allowed to exit, and is otherwise rejected by the security manager.

See Also
gc, exit