RFR JDK-7186258: InetAddress$Cache should replace currentTimeMillis with nanoTime (+more) (original) (raw)
Bernd Eckenfels bernd-2014 at eckenfels.net
Wed Jul 2 21:13:19 UTC 2014
- Previous message: RFR JDK-7186258: InetAddress$Cache should replace currentTimeMillis with nanoTime (+more)
- Next message: [8u20] Request for approval: 6545422: TEST BUG: NativeErrors.java uses wrong path name in exec
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Previous message: RFR JDK-7186258: InetAddress$Cache should replace currentTimeMillis with nanoTime (+more)
- Next message: [8u20] Request for approval: 6545422: TEST BUG: NativeErrors.java uses wrong path name in exec
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]