Does openjdk 1.8.0_242 supports Java Flight Recorder?

后端 未结 2 1357
清酒与你
清酒与你 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:53

    No it does not. As per the release notes for openjdk8u262, it is supported in OpenJDK 8 update 262.

    New features - JDK-8223147: JFR Backport

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题