RFR 8098798: Thread.join(ms) on Linux still affected by changes to the time-of-day clock
Roger Riggs
Roger.Riggs at Oracle.com
Wed Aug 29 20:06:34 UTC 2018
Please review changes for:
8098798: Thread.join(ms) on Linux still affected by changes to the
time-of-day clock
Use System.nanoTime to compute any remaining delay
8210004: Thread.sleep(millis, nanos) timeout returns early
Avoid an early return by rounding the milliseconds up if there are
any nanoseconds as was done in Object.wait(ms, ns).
(If its not appropriate to do the two reviews together, I can split them).
Webrev:
http://cr.openjdk.java.net/~rriggs/webrev-thread-early-8098798/
Thanks, Roger
More information about the core-libs-dev
mailing list