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

Calvin Cheung ccheung at openjdk.org
Thu Jan 12 18:59:12 UTC 2023


On Thu, 12 Jan 2023 17:30:36 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
>
> Markus Grönlund has updated the pull request incrementally with one additional commit since the last revision:
> 
>   review comments

Marked as reviewed by ccheung (Reviewer).

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

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


More information about the hotspot-jfr-dev mailing list