Java Parallel Garbage Collector: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=


* [[Java Garbage Collection#Garbage_Collectors|Java Garbage Collection]]
* [[Java Memory#Garbage_Collectors|Java Garbage Collection]]


=Overview=
=Overview=
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.