Get the latest tech news

Java 25's new CPU-Time Profiler


Learn all about Java 25's new CPU-time profiler and why it matters in this weeks blog post from the creator himself.

FR will use Linux’s CPU-timer mechanism to sample the stack of every thread running Java code at fixed intervals of CPU time. There are still many vague aspects included with this PR, as many has already pointed out, mostly related to the memory model and thread interactions – all those can, and should, be clarified, explained and exacted post-integration. In this talk, I’ll take you on my three-year journey to improve profiling, especially method sampling, with OpenJDK: from the initial ideas and problems of existing approaches to my different draft implementations and JEP versions, with all the setbacks and friends I made along the way.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of new CPU

new CPU

Photo of Java 25

Java 25

Photo of CPU-Time Profiler

CPU-Time Profiler

Related news:

News photo

Java 25 puts 32-bit x86 out to pasture, adds 17 shiny new features

News photo

JEP 506: Scoped Values final for Java 25

News photo

AMD’s new CPU hits 132fps in Fortnite without a graphics card