Hi

If I run *JFR.check* in build 9+181 , the response indicates that I can
invoke *VM.unlock_commercial_features*.
This command is not available in the given VM.

The output should not refer to this command i VM where it is not available.

Cheers

Martin Skarsaune


Example:

Martins-MacBook-Pro-2:Downloads marska$ java -version

java version "9"

Java(TM) SE Runtime Environment (build 9+181)

Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

Martins-MacBook-Pro-2:Downloads marska$
/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/bin/jcmd 11700
JFR.check

11700:

Java Flight Recorder not enabled.


Use VM.unlock_commercial_features to enable.

Reply via email to