-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 21
-
Component/s: core-libs
The `Thread.sleep(millis, nanos)` method is now able to perform sub-millisecond sleeps on POSIX platforms. Before this change, a non-zero `nanos` argument would round up to a full millisecond. While the precision is improved on most POSIX systems, the actual sleep duration is still subject to the precision and accuracy of system facilities.
- relates to
-
JDK-8306463 Improve Thread.sleep(millis, nanos) for sub-millisecond granularity
-
- Closed
-