Refer to the email for details: "os::javaTimeSystemUTC to call nanosecond precision OS API, so Clock.systemUTC() can give nanosecond precision UTC"
https://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2020-April/038975.html
- relates to
-
JDK-8246112 Remove build-time and run-time checks for clock_gettime and CLOCK_MONOTONIC
-
- Resolved
-
-
JDK-8068730 Increase the precision of the implementation of java.time.Clock.systemUTC()
-
- Closed
-
-
JDK-8180466 Clock.systemUTC has low resolution on Windows
-
- Closed
-
-
JDK-8246261 TCKLocalTime.java failed due to "AssertionError: expected [18:14:22] but found [18:14:23]"
-
- Resolved
-
-
JDK-8185891 System.currentTimeMillis() is slow on Linux, especially with the HPET time source
-
- Closed
-
-
JDK-6709908 System.currentTimeNanos() to support nanosecond precision
-
- Closed
-