RFR: 8309408: Thread.sleep cleanup

Alan Bateman alanb at openjdk.org
Mon Jun 5 19:46:53 UTC 2023


On Mon, 5 Jun 2023 17:25:43 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> I think we need to delay this until [JDK-8309361](https://bugs.openjdk.org/browse/JDK-8309361) is resolved, in case we would like to revert [JDK-8305092](https://bugs.openjdk.org/browse/JDK-8305092).

Okay, I won't integrate this until we see what the issue is. That said, if the sub-mills support needs to be reverted then I think we should keep the interface as nanos on the bound between the VM and the libraries. The reason is that it's mostly nanos at the Java level now, meaning 2 out of the 3 sleep methods support sub-mills, and the virtual thread sleep and the JFR event are in nanos too.

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

PR Comment: https://git.openjdk.org/jdk/pull/14303#issuecomment-1577374410


More information about the hotspot-dev mailing list