mark and sweep alog

Mark-and-Sweep algorithm – Garbage Collection

We often talk about Garbage Collector in Java. Garbage Collector work based on Mark and sweep algorithm. What is Automatic Garbage Collection? And how it works ? Interview questions on garbage collector java, very important questions on garbage collector, garbage collection in java, interview questions on garbage collector.mark and sweep algorithm. Garbage collection is process of looking at heap memory, identify unused memory and clean…