DTraceAsmProfiler: IllegalStateException: Non-zero error code from dtrace: 1
Petr Janeček
JanecekPetr at seznam.cz
Tue Feb 8 23:28:18 UTC 2022
Hello,
I'm using dtraceasm on my MacOS 11.4 (Big Sur) on an Intel-based MBP 16"
2019.
When running
$ java -jar string-format-benchmarks/target/benchmarks.jar fastFormatStatic
-prof dtraceasm
on this repo: https://gitlab.com/janecekpetr/string-format, I'm often, but
not always, getting
# Processing profiler results: DTraceAsmProfiler Exception in thread "main"
java.lang.IllegalStateException: Non-zero error code from dtrace: 1
at org.openjdk.jmh.profile.DTraceAsmProfiler.afterTrial
(DTraceAsmProfiler.java:106)
at org.openjdk.jmh.runner.Runner.runSeparate(Runner.java:675)
at org.openjdk.jmh.runner.Runner.runBenchmarks(Runner.java:558)
at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:310)
at org.openjdk.jmh.runner.Runner.run(Runner.java:209)
at org.openjdk.jmh.Main.main(Main.java:71)
More info:
$ java --version
openjdk 17.0.2 2022-01-18
OpenJDK Runtime Environment Temurin-17.0.2+8 (build 17.0.2+8)
OpenJDK 64-Bit Server VM Temurin-17.0.2+8 (build 17.0.2+8, mixed mode,
sharing)
# JMH version: 1.34
hsdis file coming from https://chriswhocodes.com/hsdis/
Last I've seen this it was about killing the process correctly. Maybe
something got borked again?
What can I do to help isolate the problem?
Thanks,
PJ
More information about the jmh-dev
mailing list