Johannes Bechberger15 articles
How to develop a tiny Java profiler, that can output flame graphs, in just 240 lines of pure Java, making it easy for anyone to understand.

- Johannes Bechberger
-
Book review: “Practical Design Patterns for Java Developers”
Hone your software design skills by implementing popular design patterns in Java.
- Frank Delporte,
- Johannes Bechberger
-
Validating Java Profiling APIs
AsyncGetCallTrace is the base of many profilers, but how can we test it automatically to make sure it’s correct? I’ll explore a layered approach.
- Johannes Bechberger
-
Do You Trust Profilers? I Once Did Too.
Do you trust profilers? I once did too. Here I describe why you should take the results of profilers with a grain of salt.
- Johannes Bechberger
-
Foojay Podcast #14: Debugging Tools and Skills for Fun and Profit
Let’s talk about debugging and observability. We work with debugging all the time, but how well do we know this common practice?
- Frank Delporte,
- Johannes Bechberger,
- Marit van Dijk,
- Shai Almog,
- Ties van de Ven
-
JFR Timestamps and System.nanoTime
Did you ever wonder whether JFR timestamps use the same time source as System.nanoTime? Come down the rabbit hole with me!
- Johannes Bechberger
-
Using Firefox Profiler Beyond the Web
Ever wondered how to use Firefox Profiler to view your own profiling data? This article gives you the foundations!
- Johannes Bechberger
-
Firefox Profiler Beyond the Web
Ever wanted to profile your application directly from your IDE? Here comes the Java JFR Profiler plugin, an open-source plugin for IntelliJ!
- Johannes Bechberger
-
AsyncGetStackTrace: A better Stack Trace API for the JVM
An introduction into GetStackTrace, AsyncGetCallTrace, and the history and specification of AsyncGetStackTrace.
- Johannes Bechberger
-
Writing a Profiler from Scratch: The Profiling Loop
How do profilers like async-profiler work? How to write your own? This is the second part, covering wall-clock profiling.
- Johannes Bechberger
-
A Short Primer on Java Debugging Internals
How does debugging work under the hood? This article explains the basics of JDI and JDWP and gives the JDWP packets for an example program.
- Johannes Bechberger