On Thu, 16 Feb 2023 18:05:54 GMT, Serguei Spitsyn <[email protected]> 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.

I've just spotted that we missed some text:

GetCurrentThreadCpuTime has "The current thread may not be a virtual thread".

GetThreadCpuTime has "The thread may not be a virtual thread".

The changes that have been integrated allow these functions to support CPU time 
measurement so I think we will need to adjust both of these sentences in a 
follow up issue.

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

PR: https://git.openjdk.org/jdk/pull/12604

Reply via email to