ar bg de en es fr id it nl pl pt sv tr zh

jdk 25

Zooming In: Profiling Just the Methods You Care About with JFR (JDK 25)

A N M Bazlur Rahman

Sometimes you don’t want a full JVM profile. You just want to understand a narrow slice of code: which methods are called, how long each call takes, and how time is distributed across a call chain. With JDK 25, JFR’s Method Trace and Method Timing events (introduced by JEP 520) make this possible....

Java’s Structured Concurrency: Finally Finding Its Footing

A N M Bazlur Rahman

The structured concurrency API changed again after two incubations and four rounds of previews. Ideally, this scenario is unexpected. However, given its status as a preview API, such changes can occur, as was the case here. These changes lend considerable maturity to the API, and I am hopeful it...