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


The PostgreSQL Extension Repo By Pigsty
09/12/2024

A repository containing any PostgreSQL extension you can imagine for Linux distributions is something that might be valuable if you are trying to save some time.



AI At edX With 30% Savings
13/12/2024

edX is offering a 30% discount on selected courses and program bundles until December 19th. We look at  AI-related certifications that could boost your resume in 2025.


More News

espbook

 

Comments




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

Last Updated ( Tuesday, 26 November 2019 )