-
Enhancement
-
Resolution: Won't Fix
-
P4
-
21
The underlying Thread.sleep facilities consistently overshoot the requested sleep durations. Part of that are issues like JDK-8307766, but there are also generic overhead from the various scheduling/monitoring/accounting paths in the kernel itself.
We can improve this a bit by accounting for the lags straight in Thread.sleep code paths.
Draft PR:
https://github.com/openjdk/jdk/pull/13892
We can improve this a bit by accounting for the lags straight in Thread.sleep code paths.
Draft PR:
https://github.com/openjdk/jdk/pull/13892
- relates to
-
JDK-8305092 Improve Thread.sleep(millis, nanos) for sub-millisecond granularity
- Resolved
-
JDK-8307766 Linux: Provide the option to override the timer slack
- Resolved