Profiling of benchmarks with JFR

Millies, Sebastian Sebastian.Millies at softwareag.com
Wed Sep 2 18:25:11 UTC 2020


Thanks, 1.26-SNAPSHOT works.

-----Original Message-----
From: Aleksey Shipilev <shade at redhat.com>
Sent: Wednesday, September 2, 2020 5:28 PM
To: Millies, Sebastian <Sebastian.Millies at softwareag.com>; jmh-dev at openjdk.java.net
Subject: Re: Profiling of benchmarks with JFR

On 9/2/20 4:25 PM, Aleksey Shipilev wrote:
> 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...

This is fixed with:
   https://linkprotect.cudasvc.com/url?a=https://bugs.openjdk.java.net/browse/CODETOOLS-7902763&c=E%2C10%2C6oOTWP5GdCKWni0CrOAKweS6bvEOWkEyAGoMzR2zhdonapBNSeNzlobCd58/KFJutqG0yH6KkXe2FzA/&typo=1&know=0
   https://linkprotect.cudasvc.com/url?a=https://hg.openjdk.java.net/code-tools/jmh/rev/523c524305e2&c=E%2C10%2CXf43awo%2Bv4saDUp%2BSkcehIUonEKuMSu%2Bssq3mO5GuZygh8MupYE%2BvlFkR5hRZjkCp3YdKbTvSAp0%2BHkG&typo=1&know=0

Tell me if you can test it with self-built 1.26-SNAPSHOT. I would probably release it is 1.25.2 soon.

--
Thanks,
-Aleksey


Software AG – Sitz/Registered office: Uhlandstraße 12, 64297 Darmstadt, Germany – Registergericht/Commercial register: Darmstadt HRB 1562 - Vorstand/Management Board: Sanjay Brahmawar (Vorsitzender/Chairman), Dr. Elke Frank, Dr. Matthias Heiden, John Schweitzer, Dr. Stefan Sigg - Aufsichtsratsvorsitzender/Chairman of the Supervisory Board: Karl-Heinz Streibich - http://www.softwareag.com



More information about the jmh-dev mailing list