RFR: 8305092: Improve Thread.sleep(millis, nanos) for sub-millisecond granularity

Alan Bateman alanb at openjdk.org
Wed Mar 29 20:01:09 UTC 2023


On Wed, 29 Mar 2023 18:29:18 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Yes, let me fix that. `TimeUnit.toNanos` handles it well itself, it seems.

This code is refactored in PR 13203 so we'll have to merge at some point.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13225#discussion_r1152419710


More information about the core-libs-dev mailing list