J.P. Morgan interview question

Difference between GC in Java 8 and Java 11