Revisiting memory management and garbage collection mechanisms in java

Mark and sweep GC

We all are aware of the functional responsibilities of garbage collector [GC] in java. But, only few try to go real deep on how actually it works. You are not one of them and that’s why you are here. In this post, we will try to understand the current mechanism of GC and will understand…