RFR JDK-7186258: InetAddress$Cache should replace currentTimeMillis with nanoTime (+more)

Bernd Eckenfels bernd-2014 at eckenfels.net
Wed Jul 2 21:13:19 UTC 2014


Hello Peter,

I think the comments in compareTo() are now superflucious ("with 0").

Greetings
Bernd

Am Wed, 02 Jul 2014 13:56:39 +0200
schrieb Peter Levart <peter.levart at gmail.com>:

> Hi,
> 
> I updated the webrev with first two suggestions from Bernd
> (expireTime instead of createTime and cacheNanos + only use
> putIfAbsent instead of get followed by putIfAbsent):
> 
> http://cr.openjdk.java.net/~plevart/jdk9-dev/InetAddress.Cache/webrev.02/


More information about the net-dev mailing list