JDK-8074023: Clock.system(ZoneId) could be optimized to always return the same clock for a given zone

nadeesh tv nadeesh.tv at oracle.com
Thu Apr 23 19:53:19 UTC 2015


Hi all,

Please review this minor change which  optimized 
Clock.systemDefaultZone() and Clock.system(ZoneId)  to avoid creating 
new instance of Clock.SystemClock every time they are called.

Bug ID :  https://bugs.openjdk.java.net/browse/JDK-8074023

Webrev : http://cr.openjdk.java.net/~rriggs/nadeesh-tv-8074023/

-- 
Thanks and Regards,
Nadeesh TV
Oracle IDC, 6th Floor Divyasree Chambers
Mob: 9986800452




More information about the core-libs-dev mailing list