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

Markus Grönlund mgronlun at openjdk.org
Thu Jan 12 17:30:36 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

Markus Grönlund has updated the pull request incrementally with one additional commit since the last revision:

  review comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11950/files
  - new: https://git.openjdk.org/jdk/pull/11950/files/4c8e432e..1bfb6836

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11950&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11950&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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