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.
Additionally, hardware technology has progressed in leaps and bounds. Memory has reduced in physical size and price, and increased in capacity. Multi-cored CPUs have b... https://medium.com/@jill.thornhill/garbage-collection-in-different-java-versions-evolution-and-improvements-f7ca062d309c