November 2017
Intermediate to advanced
398 pages
10h 14m
English
The method ParallelGC has remained the default collector of JVM for a number of versions. This is due to the fact that it uses multiple threads at the same time. This, in turn, compresses the heap and ensures that it was possible to carry out garbage collection at reduced pause times.
However, like all other all garbage collectors, there is a downside to this benefit. Since it needs to run multiple GC threads, it will always stop the main application threads when carrying out the step of a full GC collection or even a minor collection.
ParallelGC is an excellent GC method for applications that are looking to optimize the CPU usage and can sustain moderate application pauses. This is true for all the applications ...
Read now
Unlock full access