Automatic memory management is an important aspect of JVM that relieves the programmer from the need to do it programmatically. In Java, the process that cleans up memory and allows you to reuse it is called Garbage Collection (GC).
Garbage collection
Responsiveness, throughput, and stop-the-world
The effectiveness of GC affects two major application characteristics – responsiveness and throughput. Responsiveness is measured by how quickly an application responds (brings necessary data) to the request. For example, how quickly a website returns a page, or how quickly a desktop application responds to an event. The smaller the response time, the better the user experience. Throughput, on the other hand, indicates the...