[lworld] RFR: 8361390: [lworld] Assert during C2 compilation because EA does not properly handle null-free arrays
Tobias Hartmann
thartmann at openjdk.org
Fri Jul 4 08:06:31 UTC 2025
While doing some stress testing by disabling pre-loading of value classes, I found more cases when EA does not properly handle null-free arrays. This issue is already tracked by [JDK-8350865](https://bugs.openjdk.org/browse/JDK-8350865) and I simply modified the hacky bailout code in `LoadNode::Value` to cover the newly found cases for now. I added corresponding tests that also trigger this with preloading. The full fix will be done by [JDK-8350865](https://bugs.openjdk.org/browse/JDK-8350865) (most likely I'll split that RFE into subtasks).
Thanks,
Tobias
-------------
Commit messages:
- 8361390: [lworld] Assert during C2 compilation because EA does not properly handle null-free arrays
Changes: https://git.openjdk.org/valhalla/pull/1501/files
Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1501&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8361390
Stats: 87 lines in 5 files changed: 76 ins; 1 del; 10 mod
Patch: https://git.openjdk.org/valhalla/pull/1501.diff
Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1501/head:pull/1501
PR: https://git.openjdk.org/valhalla/pull/1501
More information about the valhalla-dev
mailing list