I just read about Java Flight Recording and figured out that it's a commercial feature. Since it's enabled by -XX:+UnlockCommercialFeatures -XX:+FlightRecorder
. so the question is if it's possible for me to use it in our production environment for profiling. I use
java -version
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
Or it is illegal to do so?
Java Flight Recorder requires a commercial license for use in production
https://docs.oracle.com/javacomponents/jmc-5-4/jfr-runtime-guide/about.htm#JFRUH170
so yes, it's likely illegal.