10.4 MemoryArea Class

Description
This is an abstract class that indicates the Explicit memory block or the Java heap. The package of the MemoryArea class is JP.co.Hitachi.soft.jvm.MemoryArea.
The methods included in the MemoryArea class are the abstract methods, and therefore, do not undergo any processing. For details on the processing of each method, see methods of the inherited classes with the same signature. The following table describes the format of each method and the references:
Format of methods and list of methods with the same signature
Method nameFormatMethod with the same signature
freeMemory method

public abstract long freeMemory();

freeMemory method
getName method

public abstract String getName();

getName method
newArray method (format 1)

public abstract Object newArray(Class type,  int number);

newArray method (format 1)
newArray method (format 2)

public abstract Object newArray(Class type,  int[] dimensions);

newArray method (format 2)
newInstance method (format 1)

public abstract Object newInstance(Class type);

newInstance method (format 1)
newInstance method (format 2)

public abstract Object newInstance(Class type,  Object... args);

newInstance method (format 2)
newInstance method (format 3)

public abstract Object newInstance(java.lang.reflect.Constructor cons,  Object... args);

newInstance method (format 3)
setName method

public abstract void setName(String name);

setName method
toString method

public abstract String toString();

toString method
totalMemory method

public abstract long totalMemory();

totalMemory method
usedMemory method

public abstract long usedMemory();

usedMemory method