Error Unrecognized VM option 'UseParNewGC' in JDK11

Solution Verified - Updated -


When I set the combination of options -XX:+UseConcMarkSweepGC and -XX:+UseParNewGC in an application that has been upgraded from JDK8 to JDK11, JVM will not start with the following error message. Is option -XX:+UseParNewGC not available in JDK11?

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.


  • OpenJDK
    • 11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content