RFR: 8297877: Risk for uninitialized memory in case of CHECK macro early return as part of field access
Markus Grönlund
mgronlun at openjdk.org
Thu Jan 12 15:18:53 UTC 2023
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
-------------
Commit messages:
- 8297877
Changes: https://git.openjdk.org/jdk/pull/11950/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11950&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8297877
Stats: 44 lines in 3 files changed: 13 ins; 15 del; 16 mod
Patch: https://git.openjdk.org/jdk/pull/11950.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11950/head:pull/11950
PR: https://git.openjdk.org/jdk/pull/11950
More information about the hotspot-jfr-dev
mailing list