On Tue, 4 Apr 2023 20:33:46 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:
> This is a follow-up to > [JDK-8302615](https://bugs.openjdk.org/browse/JDK-8302615) where > GetCurrentThreadCpuTime and GetThreadCpuTime were changed from being not > supported to optional, when called from/with a virtual thread. There are two > additional sentences that need adjustment to avoid creating a conflict in the > spec. > > In the functions `GetCurrentThreadCpuTime` and `GetThreadCpuTime`: > > The fragment: > `"The current thread may not be a virtual thread. Otherwise, the error code"` > > is replaced with: > > "An implementation is not required to support this function > when the current thread is a virtual thread, in which case" > > > CSR: [JDK-8305617](https://bugs.openjdk.org/browse/JDK-8305617) Marked as reviewed by alanb (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/13338#pullrequestreview-1372207726