jvm

Getting started with jvm

Remarks#

This section provides an overview of what jvm is, and why a developer might want to use it.

It should also mention any large subjects within jvm, and link out to the related topics. Since the Documentation for jvm is new, you may need to create initial versions of those related topics.

Installation or Setup

Detailed instructions on getting jvm set up or installed.

Enabling Parallel GC

Parallel GC is Stop-The-World (STW) collector which stop all the application threads when running the garbage collector.

When Parallel GC was introduced it was only enabled the parallel GC in young generation collector and OldGeneration Collector was single thread stop-the-world collector, but later introduce separate command line option to enable the Old Parallel.

Enable Parallel GC on Java 6 : -XX:+UseParallelOldGC

Enable Parallel GC on Java 7u4 onward: -XX:+UseParallelGC OR -XX:+UseParallelOldGC

Parallel GC was made default on Java7 update 4 onward , however specifying the one of above option makes it explicit.


This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow