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

Martin Doerr mdoerr at openjdk.org
Mon Jan 27 10:15: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.

Thanks for the reviews! I've filed [JDK-8348656](https://bugs.openjdk.org/browse/JDK-8348656). It probably makes sense to take a closer look when somebody has time for such enhancements.

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

PR Comment: https://git.openjdk.org/jdk/pull/23295#issuecomment-2615332835


More information about the hotspot-compiler-dev mailing list