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

Jason Zaugg jzaugg at openjdk.java.net
Fri May 7 05:46:07 UTC 2021

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

Avoid the character '%' in the generated directory name as this
is interpreted by async-profiler as part %p or %t placeholder.


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

Changes: https://git.openjdk.java.net/jmh/pull/37/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jmh&pr=37&range=00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902928
  Stats: 81 lines in 1 file changed: 50 ins; 11 del; 20 mod
  Patch: https://git.openjdk.java.net/jmh/pull/37.diff
  Fetch: git fetch https://git.openjdk.java.net/jmh pull/37/head:pull/37

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

More information about the jmh-dev mailing list