Pegasystems Interview Question

How does the Java 8 G1 garbage collector work?