When Java was first released in 1996, GC was a fairly new concept in computing. The early algorithms were subject to teething problems, and much work still needed to be done on them in the first few releases of Java. https://medium.com/@jill.thornhill/garbage-collection-in-different-java-versions-evolution-and-improvements-f7ca062d309c