| java.lang.Object java.lang.VMMemoryManager
VMMemoryManager | final class VMMemoryManager (Code) | | Provides the methods to interact with VM Memory Manager that are used by
different classes from the java.lang package, such as Object,
System, Runtime.
This class must be implemented according to the common policy for porting
interfaces - see the porting interface overview for more detailes.
author: Evgueni Brevnov, Roman S. Bushmanov version: $Revision: 1.1.2.1.4.4 $ |
clone | native static Object clone(Object object)(Code) | | Creates a shallow copy of the specified object.
Note: This method is used for the
java.lang.Object.cloneObject.clone() method implementation.
Parameters: object - an object to be cloned a copy of the specified object |
getFreeMemory | native static long getFreeMemory()(Code) | | This method satisfies the requirements of the specification for the
Runtime.freeMemory Runtime.freeMemory() method.
|
getMaxMemory | native static long getMaxMemory()(Code) | | This method satisfies the requirements of the specification for the
Runtime.maxMemory Runtime.maxMemory() method.
|
getTotalMemory | native static long getTotalMemory()(Code) | | This method satisfies the requirements of the specification for the
Runtime.totalMemory Runtime.totalMemory() method.
|
runFinalization | static void runFinalization()(Code) | | This method satisfies the requirements of the specification for the
Runtime.runFinalization Runtime.runFinalization() method.
|
runGC | native static void runGC()(Code) | | This method satisfies the requirements of the specification for the
Runtime.gc Runtime.gc() method.
|
|
|