[jdk21u-dev] RFR: 8356324: JVM crash (SIGSEGV at ClassListParser::resolve_indy_impl) during -Xshare:dump starting from 21.0.5

Aleksey Shipilev shade at openjdk.org
Mon Aug 25 10:11:08 UTC 2025


Avoids the JVM crash in a corner case. The patch is very recent, but it is borderline trivial, and we have seen customer crashes in the wild (see original issue). Without the patch, the alternative on this code path is a JVM crash.

Unfortunately, this 21u version is not clean. 21u is missing [JDK-8309878](https://bugs.openjdk.org/browse/JDK-8309878), so I had to re-apply the fix to the older place.

Additional testing:
 - [ ] Linux AArch64 server fastdebug, `tier1`

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

Commit messages:
 - Backport 506625b768c940a3f4fc2efce485d9207ca61cfe

Changes: https://git.openjdk.org/jdk21u-dev/pull/2123/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2123&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8356324
  Stats: 8 lines in 1 file changed: 7 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2123.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2123/head:pull/2123

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


More information about the jdk-updates-dev mailing list