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` I'm confused by the comments above. The code failed to initialize the `_env` member but then makes calls via this uninitialized pointer! Surely we should have crashed? ------------- PR: https://git.openjdk.org/jdk19/pull/10