RFR: 8348562: ZGC: segmentation fault due to missing node type check in barrier elision analysis

Richard Reingruber rrich at openjdk.org
Mon Jan 27 10:00:50 UTC 2025


On Fri, 24 Jan 2025 10:38:29 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> 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.
> 
> `make run-test TEST="jdk/jfr" JTREG="VM_OPTIONS=-XX:+UseZGC"` has passed on linux PPC64le.

Looks reasonable.
Thanks for fixing!
Richard.

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

Marked as reviewed by rrich (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23295#pullrequestreview-2574983849


More information about the hotspot-compiler-dev mailing list