OpenJDK 25 Ships Experimental CPU Profiler
2025-09-13

After over three years of development, an experimental CPU time profiler has landed in OpenJDK 25. Building upon JFR, this new profiler offers more precise measurement of CPU cycle consumption, addressing shortcomings of the existing execution time profiler, particularly its inadequate sampling in multi-core systems and its less-than-ideal handling of I/O-bound applications. While currently limited to Linux, it provides developers with a powerful tool for performance analysis, enabling optimization of CPU utilization and improved application throughput.