Programmer's Guide to JDK Flight Recorder
summary
Walks through exact APIs and commands that start stop dump and stream recordings, shows jcmd and JFR tool usage, and demos programmatic hooks like RecordingStream and RemoteRecordingStream that trigger dumps when CPU > 0.8. Claims default configuration costs <1% overhead and profiling <2%, default max file 250MB, JDK 21 adds 70 predefined views, JFR ships ~160 builtin events, JFR is available in OpenJDK and has support for virtual threads, and unit tests use RecordingStream stop (new in JDK 20).
AI-written summary · about
chapters (4)
- 0:00Start
- 35:05Question 1."Is the JDK Flight Recorder available for free in all OpenJDK versions?"
- 35:42Question 2."In order to make use of JFR, are there any default events included, or do you have to program your own custom events?"
- 36:44Question 3."Does JFR have support for virtual threads?"
related talks
39mProgrammer's Guide to JDK Flight Recorder
46mContinuous Monitoring with JDK Flight Recorder
56mTaking Off With #JDK #FlightRecorder
42mProfiling and monitoring with the JDK
51mThe Power of JDK Flight Recorder: Efficient Profiling and Troubleshooting for Java Applications
39mProfiling and Monitoring with the JDK
01mDemystifying the Java Flight Recorder API
31mJava Mission Control: To Infinity and Beyond…
