Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0, 2.1.0, 2.2.0
-
None
-
None
Description
https://docs.oracle.com/javacomponents/jmc-5-4/jfr-runtime-guide/comline.htm#JFRUH193
flight recorder command changed between versions. so the current flight.bash doesn't work for flight recording on newer JFR version (e.g. on openJDK8u262)
bash-4.2$ java -version openjdk version "1.8.0_262" OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_262-b10) OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.262-b10, mixed mode) bash-4.2$ jcmd 20 JFR.stop recording=1 20: java.lang.IllegalArgumentException: Unknown argument 'recording' in diagnostic command.