Category: Garbage Collection

Garbage-First (G1) garbage collector 0

Garbage-First (G1) garbage collector

As per old garbage collectors, Java heap memory was divided into 3 fixed sections: Young generation, Old generation, and Permanent generation. Young generation was further divided into Eden space, Survivor 1 and Survivor 2....

What is difference between Minor, Major and Full Garbage collection? 0

What is difference between Minor, Major and Full Garbage collection?

As we know life of objects move from young generation to survivor 1 space to survivor 2 space to old generation. GC takes place multiple times. So here are 3 types of GC :...