The JVM splits allocated memory into four separate spaces:* eden* survivor* tenured* metaspace
Different types of garbage collectors
mark-and-sweep