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


JetBrains Launches IDE Services
09/04/2024

JetBrains has launched a new product suite for enterprises. JetBrains IDE Services is designed for use by large organizations with the aim of boosting developer productivity at scale.



Run WebAssembly Components Inside Node.js With Jco
28/03/2024

Jco 1.0 has been just announced by the Bytecode Alliance.It's a native JavaScript WebAssembly toolchain and runtime that runs Wasm components inside Node.js. Why is that useful?


More News

raspberry pi books

 

Comments




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

Last Updated ( Tuesday, 26 November 2019 )