Integrated: CODETOOLS-7902928: Improve support for async-profiler 2.x

Jason Zaugg jzaugg at openjdk.java.net
Wed May 12 06:27:07 UTC 2021


On Fri, 7 May 2021 05:41:52 GMT, Jason Zaugg <jzaugg at openjdk.org> wrote:

> Allow multiple events to be captured simultaneously in this version,
> provided that JFR is chosen as output format.
> 
> Delegate output file writing to the async-profiler. This is required
> in 2.x for the JFR output but is supported in both versions. The file
> path must be provided when starting the profiler with JFR output, so
> we need to create the per-trial output directory in the first
> `beforeIteration`.
> 
> Avoid the character '%' in the generated directory name as this
> is interpreted by async-profiler as part %p or %t placeholder.

This pull request has now been integrated.

Changeset: a394dad4
Author:    Jason Zaugg <jzaugg at openjdk.org>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jmh/commit/a394dad4bc32ba2ff6fa21cedbe3ef8dfde7f2cd
Stats:     167 lines in 1 file changed: 105 ins; 18 del; 44 mod

7902928: Improve support for async-profiler 2.x

Reviewed-by: shade

-------------

PR: https://git.openjdk.java.net/jmh/pull/37


More information about the jmh-dev mailing list