How can I run Java Flight Recorder in the Intellij Idea community development environment with OpenJDK 16

3.9k Views Asked by At

I am interested to run Java Flight Recorder wiht Intellij Idea Community.

By path

  -> Run|Edit configuration

I have pointed the options:

-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:StartFlightRecording:filename="D:\!_git\tmp\core-java-perf\file.jfr"

But I don't find the file -> file.jfr;

enter image description here

Maybe someone knows how to work with Java Flight Recorder from the Intellij Idea community?

1

There are 1 best solutions below

1
skyho On
-XX:+UnlockCommercialFeatures 
-XX:+FlightRecorder 

It is deprecated.

enter image description here

enter image description here

enter image description here