Java Parallel Garbage Collector: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 10: Line 10:
... CommandLine flags: ... -XX:+UseParallelGC ...
... CommandLine flags: ... -XX:+UseParallelGC ...
</pre>
</pre>
=Configuration=
Enabled with:
<pre>
-XX:+UseParallelGC
</pre>
Note that this is the default garbage collector used by the JVM, so it does not have to be explicitly specified.

Latest revision as of 16:58, 9 May 2017

Internal

Overview

It is the default GC collector for Java 8. This information is reported when GC logging is enabled:

... CommandLine flags: ... -XX:+UseParallelGC ...

Configuration

Enabled with:

-XX:+UseParallelGC

Note that this is the default garbage collector used by the JVM, so it does not have to be explicitly specified.