Domanda di colloquio di J.P. Morgan

Difference between GC in Java 8 and Java 11