Binary link server binding address

Julien Nicoulaud julien.nicoulaud at gmail.com
Thu Dec 11 15:55:44 UTC 2014


It's perfect, thank you.

About my use case, to make simple: I use this to run the forked VM on a
remote compute node grid managed by a batch system, I have my own runner
that handles parameterization, runs the N parameter combinations in
parallel (each thread running one JMH Runner instance), and aggregates
results into charts. JMH Runners are "tricked" into launching their client
VM remotely by setting the JVM command option to a wrapper script that does
the forwarding.

This has many advantages: faster, parallelized, benchmarks running on the
target hardware and software stack, can launch benchmarks right from within
the IDE without any deployment step, etc.

This would not be possible if JMH was not so embeddable, so I hope it stays
this way in the future :)

Cheers,
Julien

2014-12-09 21:32 GMT+01:00 Aleksey Shipilev <aleksey.shipilev at oracle.com>:

> On 09.12.2014 23:01, Aleksey Shipilev wrote:
> > I agree, some sort of manual override for binding addresses would be
> > nice, filed:
> >  https://bugs.openjdk.java.net/browse/CODETOOLS-7901123
>
> This should do the trick:
>  http://hg.openjdk.java.net/code-tools/jmh/rev/9d3ce623fb33
>
> Doing the autodetection with getLocalHost() is not a way to go. Power
> users like you can now bind to some other address, bypassing the
> autodetection. Please test.
>
> Thanks,
> -Aleksey.
>
>
>


More information about the jmh-dev mailing list