RFR: 8354257: xctracenorm profiler not working with JDK JMH benchmarks

Magnus Ihse Bursie ihse at openjdk.org
Mon Apr 28 20:31:45 UTC 2025


On Thu, 10 Apr 2025 12:02:45 GMT, Galder Zamarreño <galder at openjdk.org> wrote:

> Avoid filtering out xml files at the root of the JMH folder, in order to get the `default.instruments.template.xml` file bundled in the JMH core jar to support xtrace profiler.

My understanding here is that we unpack four different jars: jmh-core, jmh-generator-annprocess, jopt-simple and commons-math3. The removal of *.xml is done on the single directory where all of the jars were unpacked into, so the intended target could be xml files in any of these, not just jmh-core .

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

PR Comment: https://git.openjdk.org/jdk/pull/24571#issuecomment-2836472997


More information about the build-dev mailing list