Garbage Collection with Java
Garbage collection mechanism is must and well known in each computer language but implementation may be different in each language with variety of technics use to achieve better performance of application and memory utilization.
In java Garbage Colle...
ajaysamgir.hashnode.dev3 min read
Shai Almog
Yak Barber, duck whisperer, hunter of bugs, feeder of dogs, heap climber, stack explorer and rider of shells
Wrote about this too a couple of weeks ago. Notice that Java doesn't use reference counting in GCs.
This seems counter intuitive but reference counting actually slows down the GC process.