[jdk21u-dev] RFR: 8325095: C2: bailout message broken: ResourceArea allocated string used after free

Aleksey Shipilev shade at openjdk.org
Mon Apr 22 15:45:46 UTC 2024


Fixes the diagnostic regression in JDK 21. Does not apply cleanly, because JDK 21 does not have [JDK-8318444](https://bugs.openjdk.org/browse/JDK-8318444). I tried to backport it first, but it has some bugtail, which needs more time in mainline. The conflicts resolutions were simple.

Additional testing:
 - [ ] Linux x86_64 server fastdebug, `all`

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

Commit messages:
 - Backport c589555845e61cdde5340aaa76fcc36b2753240d

Changes: https://git.openjdk.org/jdk21u-dev/pull/522/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=522&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325095
  Stats: 126 lines in 8 files changed: 108 ins; 5 del; 13 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/522.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/522/head:pull/522

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


More information about the jdk-updates-dev mailing list