Integrated: 7904047: JMH: support async-profiler 4.0 options
Andrei Pangin
apangin at openjdk.org
Mon Jun 30 13:29:56 UTC 2025
On Wed, 25 Jun 2025 01:08:09 GMT, Andrei Pangin <apangin at openjdk.org> wrote:
> JMH has built-in capability for running benchmarks with async-profiler. `-prof async` supports commonly used async-profiler options, however, these options became a bit outdated and don't reflect features appeared in async-profiler 3.0 and 4.0.
>
> Async-profiler users [get confused](https://github.com/async-profiler/async-profiler/discussions/1345) why certain async-profiler options don't work with JMH.
>
> This PR:
> - updates async-profiler stack walking modes: `dwarf`, `vm`, `vmx`;
> - adds native memory profiling option;
> - adds OTLP output format;
> - introduces `norm` and `lib` flags for tuning async-profiler frame names;
> - fixes minor inaccuracies in option description.
This pull request has now been integrated.
Changeset: 2a316030
Author: Andrei Pangin <apangin at openjdk.org>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jmh/commit/2a316030b509aa9874dd6ab04e21962ac92cd634
Stats: 60 lines in 2 files changed: 38 ins; 10 del; 12 mod
7904047: JMH: support async-profiler 4.0 options
Reviewed-by: shade
-------------
PR: https://git.openjdk.org/jmh/pull/159
More information about the jmh-dev
mailing list