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

Martin Doerr mdoerr at openjdk.org
Mon Jan 27 11:07:17 UTC 2025


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.

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

Commit messages:
 - Backport afcc2b03afc77f730300e1d92471466d56ed75fb

Changes: https://git.openjdk.org/jdk21u-dev/pull/1361/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1361&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/jdk21u-dev/pull/1361.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1361/head:pull/1361

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


More information about the jdk-updates-dev mailing list