Thursday, January 30, 2020

Flight Recorder for OpenJDK 8 is one step closer

Java Flight Recorder in OpenJDK 8 (soon?)

For last several months a lot of work was being put into back-porting fully functional Java Flight Recorder (or JFR in short) to OpenJDK 8 to bring all its goodies even to the ones not wishing to move to the latest and greatest Java.

Finally, all the changes are ready for review  and hopefully it will not take long before they are integrated to the main OpenJDK 8u tree.

Meanwhile, you can test the proposed changes using the incubator project which is fully buildable. Just make sure to run configuration script with --enable-jfr option to actually have JFR built in.

AFAIK, the --enable-jfr configuration option will be required even when the changes are merged to the main OpenJDK 8u tree - I hope all the providers of binary OpenJDK 8 distribution will include this option as default.