On Thu, 16 Feb 2023 18:05:54 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:
> This is a minor JVM TI spec update for two timer functions > `GetCurrentThreadCpuTime` and `GetThreadCpuTime` to allow implementations to > support virtual threads. > > The CSR is: > [JDK-8302616](https://bugs.openjdk.org/browse/JDK-8302616): make JVMTI thread > cpu time functions optional for virtual threads > > No testing is needed. Marked as reviewed by alanb (Reviewer). I assume we'll rev the JVMTI version at some point in 21. The change looks fine. It might be that we'll need to add a new capacity or add a field to jvmtiTimerInfo to say whether the implementation supports CPU time for virtual threads, but what we have now is okay. ------------- PR: https://git.openjdk.org/jdk/pull/12604