Garbage-first collector

ID: garbage-first-collector

The Garbage-First (G1) garbage collector is a garbage collection algorithm used in the Java Virtual Machine (JVM) that is designed for applications requiring large heaps and low pause times. It was introduced in JDK 7 as a replacement for the Concurrent Mark-Sweep (CMS) collector, and is particularly well-suited for applications running on multi-core processors.

New to topics? Read the docs here!