RFR: 8348562: ZGC: segmentation fault due to missing node type check in barrier elision analysis
Martin Doerr
mdoerr at openjdk.org
Fri Jan 24 10:44:22 UTC 2025
Adding the missing node type check as described in the JBS issue. `oopptr` can be null in which case the current implementation crashes. This was only reported for JFR tests on PPC64 so far. If the expected graph pattern is not found, we bail out and skip the optimization.
-------------
Commit messages:
- 8348562: ZGC: segmentation fault due to missing node type check in barrier elision analysis
Changes: https://git.openjdk.org/jdk/pull/23295/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23295&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8348562
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/23295.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23295/head:pull/23295
PR: https://git.openjdk.org/jdk/pull/23295
More information about the hotspot-gc-dev
mailing list