Java Micro-benchmark Harness

Eric Kolotyluk eric at kolotyluk.net
Sat Nov 6 19:24:50 UTC 2021


Okay, found the problem, while my Maven Project was specifying JDK-18, my
command line was still using JDK-17... sorry about not checking
correctly... things seem to be running correctly now.
...
Aleksey, I tried subscribing to jmh-dev, but never got back acknowledgment,
so I cannot post there yet. Does someone need to approve my subscription?

I have not posted to StackOverflow yet about JMH. I did post earlier to
loom-dev, but none of my posts from my Microsoft Mail client seem to go
through there, so now I am posting via Gmail.

According to the JMH <https://github.com/openjdk/jmh> home page, they say
to get support via JDK Bug System
<https://bugs.openjdk.java.net/browse/CODETOOLS-7902762?jql=project%20%3D%20CODETOOLS%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20tools%20AND%20Subcomponent%20%3D%20jmh>
(which I don't have access to) or  "submit the bug report at 'Issues' here"
but it looks like Issues has been disabled for this GitHub project.

Thanks for your replies, everyone...

Cheers, Eric

On Sat, Nov 6, 2021 at 1:18 AM Alan Bateman <Alan.Bateman at oracle.com> wrote:

> On 06/11/2021 07:15, Aleksey Shipilev wrote:
> > On 11/6/21 12:46 AM, Eric Kolotyluk wrote:
> >> Has anyone gotten JMH to work with JDK-18 + Loom?
> >> I tried but JMH doesn't like Version 62 Classfiles...
> >
> > JMH should work with whatever classfiles, provided you have actually
> > set appropriate source/target in the benchmark project. Please provide
> > MCVE if you want more help.
> Just to add that I'm not aware of any issues using JMH with the loom
> repo. Once you upgrade to a version that works with JDK 18 EA builds
> then it should work with a build of the loom repo too.
>
> -Alan
>


More information about the loom-dev mailing list