hg: jdk9/hs-rt/jdk: 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
daniel.fuchs at oracle.com
daniel.fuchs at oracle.com
Thu Jan 29 03:52:24 UTC 2015
Changeset: d6a5cbeb8198
Author: dfuchs
Date: 2015-01-28 17:48 +0100
URL: http://hg.openjdk.java.net/jdk9/hs-rt/jdk/rev/d6a5cbeb8198
8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Summary: Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.
Reviewed-by: dholmes, rriggs, scolebourne, sla
! src/java.base/share/classes/java/time/Clock.java
! src/java.base/share/classes/java/util/Formatter.java
! src/java.base/share/classes/sun/misc/VM.java
! src/java.base/share/native/include/jvm.h
! src/java.base/share/native/libjava/VM.c
! test/java/time/tck/java/time/TCKLocalDateTime.java
! test/java/time/tck/java/time/TCKLocalTime.java
! test/java/time/tck/java/time/TCKZonedDateTime.java
! test/java/time/test/java/time/TestClock_System.java
! test/java/time/test/java/util/TestFormatter.java
+ test/sun/misc/VM/GetNanoTimeAdjustment.java
More information about the jdk9-hs-rt-changes
mailing list