error when using perfasm

Сергей Цыпанов sergei.tsypanov at yandex.ru
Mon Mar 12 16:23:04 UTC 2018


Hi everyone,

I face an error when trying to use perfasm profiler under Windows:

> java -jar target\benchmarks.jar com.luxoft.logeek.benchmark.array.IndexOfBenchmark -w 10 -i 10 -f 3 -prof xperfasm

# Preparing profilers: WinPerfAsmProfiler Exception in thread "main" java.lang.IllegalStateException: Failed to start xperf: [xperf: error: NT Kernel Logger: Невозможно создать файл, так как он уже существует. (0xb7).]

        at org.openjdk.jmh.profile.WinPerfAsmProfiler.beforeTrial(WinPerfAsmProfiler.java:129)
        at org.openjdk.jmh.runner.Runner.runSeparate(Runner.java:648)
        at org.openjdk.jmh.runner.Runner.runBenchmarks(Runner.java:560)
        at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:320)
        at org.openjdk.jmh.runner.Runner.run(Runner.java:209)
        at org.openjdk.jmh.Main.main(Main.java:71)

The message is "File cannot be created as it alredy exitsts". The problem is that I have no idea which file is needed to be created.

Did anyone face the same issue?

Sergey Tsypanov



More information about the jmh-dev mailing list