Introduction to Garbage Collection

Java employs garbage collection to free memory that has been used by objects, saving programmers having to explicitly dispose of them.
Learn More...
In order to understand GC, let's learn about the young generation, where the objects are created for the first time. The young generation is divided into 3 spaces.
Learn More...
Its used to get information about the size of the new generation and more accurate timings.
Learn More...
We can monitor performance of java programs with the help of following tools.
Learn More...

The JConsole graphical user interface is a monitoring tool that complies to the Java Management Extensions (JMX) specification.
Learn More...

VisualVM is a visual tool integrating several command line JDK tools and lightweight profiling capabilities.
Learn More...