In
JDK-8065372: Object.wait(ms, ns) timeout returns early
we fixed Object.wait to not return early by rounding non-zero nanos up to the next millisecond.
We should make the same change to Thread.sleep
we fixed Object.wait to not return early by rounding non-zero nanos up to the next millisecond.
We should make the same change to Thread.sleep
- duplicates
-
JDK-6568526 (thread) Thread.sleep(millis, nanos) should not return early
- Closed
-
JDK-6811570 Thread.sleep returns early
- Closed
- relates to
-
JDK-8065372 Object.wait(ms, ns) timeout returns early
- Closed
-
JDK-8306463 Improve Thread.sleep(millis, nanos) for sub-millisecond granularity
- Closed