Share via


System.runFinalization

Class Overview | Class Members | This Package | All Packages

Syntax

public static void runFinalization()

Description

Runs the finalization methods of any objects pending finalization.

Calling this method suggests that the Java Virtual Machine expend effort toward running the finalize methods of objects that have been found to be discarded but whose finalize methods have not yet been run. When control returns from the method call, the Java Virtual Machine has made a best effort to complete all outstanding finalizations.

See Also

runFinalization