[jdk21u-dev] Integrated: 8348562: ZGC: segmentation fault due to missing node type check in barrier elision analysis

Martin Doerr mdoerr at openjdk.org
Fri Feb 7 10:13:15 UTC 2025


On Mon, 27 Jan 2025 11:01:00 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Clean backport of [JDK-8348562](https://bugs.openjdk.org/browse/JDK-8348562). The crashes can be reproduced in 21u by `make run-test TEST="jdk/jfr/api/consumer/streaming/TestFilledChunks.java" JTREG="VM_OPTIONS=-XX:+UseZGC -XX:+ZGenerational"` on linux PPC64le. The fix only adds a null check + bailout where the current implementation crashes with SIGSEGV. The test passes with this fix.

This pull request has now been integrated.

Changeset: 46a14640
Author:    Martin Doerr <mdoerr at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/46a146407f0a2168c5a92a06f2d08f33096937e2
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

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

Backport-of: afcc2b03afc77f730300e1d92471466d56ed75fb

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

PR: https://git.openjdk.org/jdk21u-dev/pull/1361


More information about the jdk-updates-dev mailing list