API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang.management. MemoryMXBean View Source
Author(s)
Mandy Chung
Since
1.5
Version
1.16, 03/08/06
Serial
Hierarchy
 MemoryMXBean
Subinterfaces
Description
public interface MemoryMXBean
  The management interface for the memory system of the Java virtual machine.
Methods
Hide/Show inherited methods
public void gc ()
  Runs the garbage collector.
public MemoryUsage getHeapMemoryUsage ()
  Returns the current memory usage of the heap that is used for object allocation.
public MemoryUsage getNonHeapMemoryUsage ()
  Returns the current memory usage of non-heap memory that is used by the Java virtual machine.
public int getObjectPendingFinalizationCount ()
  Returns the approximate number of objects for which finalization is pending.
public boolean isVerbose ()
  Tests if verbose output for the memory system is enabled.
public void setVerbose (boolean value)
  Enables or disables verbose output for the memory system.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar