I am trying to run the JDK flight (OpenJDK 11) recorder with jshell by passing the below arguments. jshell -J-XX:StartFlightRecording:filename=myrecording.jfr,duration=240s