THE PACKAGE JAVA.LANG
java.lang.System
20.18
The call
System.exit(n)
is effectively equivalent to the call:
Runtime.getRuntime().exit(n)
For a more complete description, see the
exit
method of class
Runtime
( 20.16.2).
20.18.12
public static void gc()
Calling this method suggests that the Java Virtual Machine expend effort toward
recycling discarded objects in order to make the memory they currently occupy
available for quick reuse. When control returns from the method call, the Java Vir
tual Machine has made a best effort to recycle all discarded objects.
The call
System.gc()
is effectively equivalent to the call:
Runtime.getRuntime().gc()
For a more complete description, see the
gc
method of class
Runtime
( 20.16.9).
20.18.13
public static void runFinalization()
Calling this method suggests that the Java Virtual Machine expend effort toward
running the finalization methods of objects that have been found to be discarded
but whose finalization 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.
The call
System.runFinalization()
is effectively equivalent to the call:
Runtime.getRuntime().runFinalization()
For a more complete description, see the
runFinalization
method of class
Runtime
( 20.16.10).
20.18.14
public static void load(String filename)
throws SecurityException, UnsatisfiedLinkError
This method loads a code file with the specified file name from the local file sys
tem.
The call
System.load(name)
is effectively equivalent to the call:
Runtime.getRuntime().load(name)
For a more complete description, see the
load
method of class
Runtime
( 20.16.13).
583
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved