On Wed, 29 Mar 2023 17:17:29 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
> Are there specific factors which would make it unreasonable to implement > `sleep` in terms of `parkNanos`? You would need to reissue any unparks received whilst sleeping. Sleeping and parking are distinct thread states so it would be a lot of work in the Java code and in the VM to make such a change. ------------- PR Comment: https://git.openjdk.org/jdk/pull/13225#issuecomment-1489551942