Integrated: 8297877: Risk for uninitialized memory in case of CHECK macro early return as part of field access

Markus Grönlund mgronlun at openjdk.org
Fri Jan 13 12:14:26 UTC 2023


On Wed, 11 Jan 2023 15:48:31 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

> Greetings,
> 
> this change removes the risk of accessing uninitialized memory as part of field access when using the jfrJavaSupport abstraction, in case the klass->initialize(CHECK) early outs.
> 
> It includes a small refactoring when in the area.
> 
> Testing: jdk_jfr
> 
> Thanks
> Markus

This pull request has now been integrated.

Changeset: ac63f5f8
Author:    Markus Grönlund <mgronlun at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ac63f5f8dd02b6af59c065add63ab4002fbc3e24
Stats:     44 lines in 3 files changed: 13 ins; 15 del; 16 mod

8297877: Risk for uninitialized memory in case of CHECK macro early return as part of field access

Reviewed-by: ccheung, egahlin

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

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


More information about the hotspot-jfr-dev mailing list