OpenJDK 8 To Get JDK Flight Recorder
Written by Kay Ewbank   
Tuesday, 26 November 2019

The JDK Flight Recorder is being made available for OpenJDK 8 thanks to work to backport it by open source contributors. The recorder can be used to monitor JVM performance without incurring high overheads, and was already available for OpenJDK 11.

The backport is a collaboration between Red Hat, Alibaba, Azul and Datadog, and means developers using OpenJDK 8 will be able to benefit from the data JDK Flight Recorder can provide.

corretto

The JDK Flight Recorder grew out of Oracle's Java Flight Recorder. This was a commercial add-on for the Oracle JDK that was open sourced at the same time as Java Mission Control. Java Flight Recorder started life as the JRockit Flight Recorder, and was only aimed at improving the JVM. When Oracle acquired Java as part of the Sun Microsystems deal, it was renamed Java Flight Recorder, then renamed JDK Flight Recorder when it was open sourced.

JDK Flight Recorder is incorporated as part of the JDK so is accurate in its performance monitoring, and has a low overhead of around 2 percent. It can either be used as the automated recorder inside the JVM, or there's a Mission Control console that you run on a different system to work with the automated internal recorder to evaluate the results or to create performance snapshots.

JDK Flight Recorder collects data about the running threads, GC cycles, locks, sockets, and memory usage along with a variety of other data. It also offers advanced garbage collection analysis, including what garbage was collected and which threads discarded it in the first place. This provides useful information for improving performance.

The backport is keeping the same interfaces and implementation as that in OpenJDK 11, and is fully compatible. Some events such as Module related events won't be available, but other than that the API and tools work exactly the same. To use OpenJDK 8 with JFR you'll need to build the JDK available in the repository mentioned in the More Information box below.

corretto 

 

 More Information

JDK8 JFR Repository

JDK 11 On OpenJDK

Related Articles

Red Hat Takes Over OpenJDK Maintenance

JDK 12 Feature Set Frozen

Oracle Launches Subscription Java SE Service

Oracle Says Drop Nashorn From JDKs

Oracle Holds On To Java EE Brand 

JDK 10 Released

JavaFX Will Be Removed From JDK

Oracle Promises To Open Source Oracle JDK And Improve Java EE

Java EE Moving To Eclipse

Java EE To Get Open Source Foundation

Java Guardians To The Rescue Of Java EE

Oracle Closing Javanet

Java Guru Quits Oracle

Oracle Announces End Of Java Applet Support

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


52nd Mersenne Prime Found
27/10/2024

It has been nearly six years since the last Mersenne prime was discovered. Now, at last, we have Mersenne prime number 52 and it has 41,024,320 digits!



Flutter Forked As Flock
05/11/2024

One of developers who worked on the Flutter team at Google has created an open-source form of the framework. Matt Carroll says Flock will be "Flutter+", will remain constantly up to date with Flutter, [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 26 November 2019 )