A practical guide to reading and writing JFR (Java Flight Recorder) files programmatically using three approaches: Java's built-in RecordingFile API, the jafar library by Jaroslav Bachorik (which uses compile-time code generation for speed and low memory footprint), and the JMC JFR writer API for creating custom JFR files. The post also introduces basic-jfr-processor, a new library built on top of the JMC writer API that simplifies modifying existing JFR files, such as dropping or altering specific event types.

7m read timeFrom mostlynerdless.de
Post cover image
Table of contents
Reading JFR Files using Java’s APIReading JFR Files using JafarWriting JFR EventsModifying Files with Basic-JFR-ProcessorConclusionAuthorRelated Posts:

Sort: