Throughput in Garbage Collection

Throughput in Garbage Collection

When it comes to the memory management of a software application, garbage collection is crucial. Actually, the memory of unused or unreferenced objects is recovered by a Java program called Garbage Collector. It means that, like other Java codes, the GC executes when a certain condition, such as memory fullness, is met. GC affects the … Read more

Type of Garbage Collector

Garbage Collector Type

Before discussing the type of garbage collector, it is important to understand some basic terms related to it. Type of Garbage Collector: 1. Serial GC: Serial GC is designed for single-threaded environments. It uses just a single thread for garbage collection. As a result, this GC implementation freezes all application threads when it runs. This leads … Read more

How does Garbage Collector work?

How does GC work, Minor GC, Major GC, Full GC

A Garbage Collector is a Java program which tracked the referenced (live) objects and allowed them to keep in the heap memory whereas the memory of the unreferenced (dead) objects is reclaimed and reused for future object allocation. To understand it more practically we have to take some pictorial examples of JVM object creation and management cycle. Let’s … Read more

Garbage Collection – Overview

A Garbage Collector is a Java program which tracked the referenced (live) objects and allowed them to keep in the heap memory whereas the memory of the unreferenced (dead) objects is reclaimed and reused for future object allocation. This method of reclaiming unused memory is known as Garbage Collection. In Garbage collection, neither the explicit deletion of … Read more