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

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Fri Jan 24 14:17:45 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 good, thanks!

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

Marked as reviewed by rcastanedalo (Reviewer).

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


More information about the hotspot-gc-dev mailing list