You will learn how to get flight recordings from your JVM, both for always-on monitoring, and more detailed profiling.
You’ll get know how to create your own JFR events, and learn how to analyze them using Java Mission Control
Even if you’re on the latest JDK, or on earlier you’ll get tips on how to use JFR in unit-tests
Using practical examples you’ll see how JFR can be used to inspect the entire software stack, and correlate events from your application, through the JDK, all the way down to the JVM
JDK Flight Recorder (JFR) is a low overhead profiling and troubleshooting framework built into the Java Virtual Machine. It comes with a powerful programming API that allows you to create application specific events. The API can also be used as a datasource for your own infrastructure for example when building dashboards and triggers. This talk will deep dive into the API and look at events, settings, content types, and other metadata.
It will:
Show how to start and stop recordings, read recording files, and consume events continuously
Demonstrate the FlightRecorderMXBean and how it can be used to control and transfer recording data over JMX
Provide practical tips and guidelines to help you craft your own events.