RFR: 8288324: Loom: Uninitialized JvmtiEnvs in VM_Virtual* ops

Aleksey Shipilev shade at openjdk.java.net
Wed Jun 15 07:03:45 UTC 2022


On Mon, 13 Jun 2022 18:14:56 GMT, Aleksey Shipilev <shade at 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`

Everyone's good with this patch then?

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

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


More information about the serviceability-dev mailing list