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 it to be reused is called a garbage collection.
Garbage collection
Responsiveness, throughput, and stop-the-world
The effectiveness of GC affects two major application characteristics – responsiveness and throughput:
- Responsiveness: This is measured by how quickly an application responds (brings the 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: This indicates the amount...