Garbage Collection

How garbage collectors work and how to tune them: G1, ZGC, SerialGC, Node.js GC and writing your own collector.