You can acquire the memory information of GC directly from a Java program.
Package JP.co.Hitachi.soft.jvm Description
A class used to obtain the memory information of GC directly from a Java program is provided.
Note that you cannot use this class for other JDK products.