Garbage-First (G1) is a garbage collection algorithm introduced in the Oracle HotSpot Java virtual machine (JVM) 6 Update 14 and supported from 7 Update 4. It was planned to replace concurrent mark sweep collector (CMS)...