Getting started with jvm

Other topics

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.

Contributors

Topic Id: 3432

Example Ids: 11867,21891

This site is not affiliated with any of the contributors.