Profiling of benchmarks with JFR
Aleksey Shipilev
shade at redhat.com
Wed Sep 2 14:25:25 UTC 2020
On 9/2/20 3:52 PM, Millies, Sebastian wrote:
> Iteration 1: <failure>
>
> java.lang.RuntimeException: Error executing: [C:\Program Files\Zulu\zulu-8\jre\bin\java.exe, 6024, JFR.start, name=MyBenchmarkClass.myBenchmark-AverageTime, settings=profile]
> Error: Could not find or load main class 6024
This is the Windows-specific bug: it should call jcmd.exe, not java.exe. It happens because path
replacement looks for "/", not for "\". I'll fix it...
--
Thanks,
-Aleksey
More information about the jmh-dev
mailing list