Issues running benchmarks with dtraceasm profile enabled on macOS

Denys Makogon denys.makogon at oracle.com
Fri Jan 22 20:38:31 UTC 2021


Greetings to All!


Recently I tried to run the benchmark against a very simple Vectors API code snipped borrowed from corresponding JEP, but unfortunately, I encountered a problem with JMH dtraceasm profile on macOS:


Processing profiler results: DTraceAsmProfiler Exception in thread "main" java.lang.IllegalStateException: []
        at org.openjdk.jmh.profile.DTraceAsmProfiler.afterTrial(DTraceAsmProfiler.java:92)
        at org.openjdk.jmh.runner.Runner.runSeparate(Runner.java:689)
        at org.openjdk.jmh.runner.Runner.runBenchmarks(Runner.java:572)
        at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:324)
        at org.openjdk.jmh.runner.Runner.run(Runner.java:210)
        at org.openjdk.jmh.Main.main(Main.java:71)


Code snippet is not provided with this email because it doesn't do anything really special and a given issue was reproduced with other benchmarks.


System information:

Darwin Deniss-MBP.Dlink 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 18 20:50:10 PDT 2020; root:xnu-4903.278.43~1/RELEASE_X86_64 x86_64

JDK 16

JMH 1.27


So, is this a known issue or something new? I'd be grateful for any support/advice.

Kind regards,
Denys Makogon



More information about the jmh-dev mailing list