November 2017
Intermediate to advanced
398 pages
10h 14m
English
The new Java 9 G1GC default collector has been available since update 4 of Java 7, but it was not available for default use. This new method is able to split the processing of objects in multiple phases. Not all of these phases require the stopping of the processing. This results in faster processing overall and ensures that program threads remain short and can be recycled within different phases.
Garbage collection threads in G1GC have to work with application threads the entire time, which increases the maintenance overhead of the programming package. There is a need for synchronization in order to ensure that the memory model of Java remains operational.
There are additional memory barriers that are required for efficient ...