Can the -XX:+UnlockCommercialFeatures flag be used to unlock additional functionality in OpenJDK?

Solution Verified - Updated -

Issue

  • Can the -XX:+UnlockCommercialFeatures flag be used to unlock additional functionality in OpenJDK?
  • Is it necessary to use -XX:+UnlockCommercialFeatures in order to use JDK Flight Recorder (JFR) ?
  • We want to use the commercial features in OpenJDK to enable flight recording of our Java application.

Environment

  • OpenJDK

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