Java Parallel Garbage Collector: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions 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=
It is the default GC collector for Java 8. This information is reported when GC logging [[Java_Garbage_Collection_Logging#Overview|is enabled]]:
<pre>
... CommandLine flags: ... -XX:+UseParallelGC ...
</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.