On Mon, 13 Jun 2022 18:14:56 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

> SonarCloud reports a few uninitialized fields in new VM_Virtual* ops. Those 
> fields are used, and therefore this is a serious bug. These ops seem to be 
> used only from a few corner cases, which is probably why this was never 
> actually found in testing.
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug, `jdk_loom hotspot_loom`
>  - [x] Linux x86_64 fastdebug, `serviceability/jvmti`

@sspitsyn @lmesnik If I read this correctly then this calling JVMTI 
GetFrameCount or GetStackTrace with a jthread to a virtual thread that is not 
mounted. I'm surprised this wasn't caught by any tests. Should we add tests for 
these cases?

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

PR: https://git.openjdk.org/jdk19/pull/10

Reply via email to