Issues with dtraceasm, and a workaround
Henri Tremblay
henri.tremblay at gmail.com
Mon Feb 22 16:42:41 UTC 2021
Sadly, I do not get the same result. When running from master I do get
# Processing profiler results: DTraceAsmProfiler Exception in thread "main"
java.lang.IllegalStateException: [kill: 37996: No such process
]
at
org.openjdk.jmh.profile.DTraceAsmProfiler.afterTrial(DTraceAsmProfiler.java:94)
at org.openjdk.jmh.runner.Runner.runSeparate(Runner.java:682)
at org.openjdk.jmh.runner.Runner.runBenchmarks(Runner.java:565)
at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:317)
at org.openjdk.jmh.runner.Runner.run(Runner.java:209)
at org.openjdk.jmh.Main.main(Main.java:71)
However, when applying the patch I still have the same error.
Running
sudo java -jar jmh-samples/target/benchmarks.jar Hello -wi 5 -i 5 -f 1 -w
1s -r 1s -prof dtraceasm
However, I do get the exact same issue with the PR. I did a clean install
between each run. I'm not sure if if I'm just stupid or something is
actually not working.
If someone has an idea. I'll debug slightly later.
More information about the jmh-dev
mailing list