Profiler perf and the JVM (Part 2)
summary
A hands-on workshop on using perf (the Linux kernel profiler) with JVM processes: how to run perf, collect profiling data from a Java process, and interpret results. It covers comparing perf output to Java Flight Recorder and thread dump sampling, and advanced use of hardware performance counters; requires Linux root access, perf, OpenJDK 17, and optionally Mission Control.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 3:36Profiling questions
- 5:20Flame graph analysis
- 15:59Tick sampling
- 18:34Demonstration: branch miss
- 28:59GC profiling
- 37:29Debug non-safepoint impact
- 49:57Comparison with JFR
- 55:00Summary and recommendations
- 57:10Q&A
related talks
01h 05mWorkshop: Crash Course on Open Source Profilers (part 1)
01h 17mWorkshop: Crash Course on Open Source Profilers (part 2)
45mMastering JVM Profiling: Advanced Techniques and Real-Life Case Studies
42mProfiling and monitoring with the JDK
47mJVM Performance Engineering - Inside OpenJDK and the HotSpot Java Virtual Machine
48mAdvanced Java Performance Monitoring
55mWhat's Going On in Java?
39mProfiling and Monitoring with the JDK
