I'm currently reading about the JVM and how garbage collection works found here: http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/gc01/index.html
It discusses both the Mark and Sweep and the Generational garbage collection concepts. After reading through this tutorial, I'm confused on which garbage collection process the JVM actually uses. The whole time, I thought the JVM used the Mark and Sweep process. Has Mark and Sweep been replaced by Generational garbage collection in newer versions of Java or is the Generational garbage collection just a theory for now and not fully implemented?
Thanks in advance.