Java / JDK, JRE, JVM, JIT
Explain Parallel Garbage Collector in Java.
Parallel garbage collector also called as throughput collector, is the default garbage collector of the JVM. Unlike serial garbage collector, this uses multiple threads for garbage collection. Similar to serial garbage collector this also freezes all the application threads while performing garbage collection.
Turn on the -XX:+UseParallelGC JVM argument to use the CMS garbage collector.
The Parallel GC is recommended for situations where high throughput required.
More Related questions...