Does openjdk 1.8.0_242 supports Java Flight Recorder?

后端 未结 2 1364
清酒与你
清酒与你 2021-01-21 16:12

I want to run a java application with JFR enabled. When I start my application as below java -XX:+UnlockCommercialFeatures -XX:StartFlightRecording

I get following erro

2条回答
  •  面向向阳花
    2021-01-21 16:58

    Oracle open-sourced both Flight Recorder and Mission Recorder as sub-projects housed on the OpenJDK project. Builds available from vendors such as Azul Systems, Oracle, and others. Some may be free-of-cost, some may not; read the terms.

    Zulu Community edition, by Azul Systems

    Azul Systems, Inc. is currently shipping their Zulu Community product built on OpenJDK. Java Flight Recorder and Mission Control are both included for Java 8 according to their feature matrix.

    Also included in their commercial product, Zulu Enterprise.

    Caveat: I have not used Flight Recorder with either Zulu. Just found it from some web searching.


    By the way, TLS improvements are also being back-ported to Java 8.

提交回复
热议问题