Question about DiagnosticCommand.jfrCheck

Martin Skarsaune martin at skarsaune.net
Tue Dec 26 20:14:24 UTC 2017


Hi

I have a question about plans for
com.sun.management.DiagnosticCommand.jfrCheck :

If I run this command in JRE 9+181 i get this output:

"Java Flight Recorder not enabled.

Use VM.unlock_commercial_features to enable."

Will the output change in future versions when the flight recorder goes
open source?
Will it work differently in Oracle and OpenJDK JRE ?

My background for asking this question: I do some work on flight recorder
support in hawt.io and would like to give the user proper warning before
attempting to unlock commercial features at runtime.

Cheers!

Martin Skarsaune
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20171226/0da01ae8/attachment.html>


More information about the serviceability-dev mailing list