Skip to content

The build/test tool ProfileResults that aggregates JFRs and prints the hot stacks doesn't work with new CPUTime profiler in Java 25 #15926

@mikemccand

Description

@mikemccand

Java 25 added a new CPUTime profiler which uses Linux kernel APIs to sample threads every N CPU instructions instead of every X msec wall-clock time. This eliminates silly ghosts like threads listening forever on a socket. It sounds really cool. Wow, it uses JEP 518 -- look how hard it is to eliminate/reduce safepoint bias!

I switched nightly benchy to CPU time profiler, but it produces vacuous reports, clearly missing all the meat. See mikemccand/luceneutil#562 for specifics.

I think it's because ProfileResults tool doesn't know about the new jdk.CPUTimeSample event -- the fix should be simple, in the isInteresting method. I'll try to make a PR soon.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions