Suggest JVM to Run Object Finalization - Java Java Virtual Machine

Java examples for Java Virtual Machine:Utility

Description

Suggest JVM to Run Object Finalization

Demo Code

 
public class Main {
 
        public static void main(String args[])
        {//from   w w w  .j a va 2s. c  om
                Runtime runtime = Runtime.getRuntime();
                runtime.runFinalization();
        }
}

Related Tutorials