Binary link server binding address

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue Dec 9 20:01:00 UTC 2014


Hi Julien,

On 09.12.2014 20:31, Julien Nicoulaud wrote:
> A long time ago (0.2), BinaryLinkServer binding address was the default one
> (InetAddress.getLocalHost()). In the meanwhile, this has been changed to
> the loopback interface address.

Yes, getLocalHost() is odd, since sometimes it can resolve the external
address, that might be filtered. These are the fixes that brought us a
proper loopback:
 http://hg.openjdk.java.net/code-tools/jmh/rev/1846fe42b40b
 http://hg.openjdk.java.net/code-tools/jmh/rev/77ac1de4a238

> I used to rely on this to execute the forked VM on a remote compute node. I
> know this is a weird use case, but it would be nice if there was an option
> (or even an undocumented system property) to get this back.

Oh... Please tell me more about this scenario.

I agree, some sort of manual override for binding addresses would be
nice, filed:
 https://bugs.openjdk.java.net/browse/CODETOOLS-7901123

Thanks,
-Aleksey.




More information about the jmh-dev mailing list