[lworld] Integrated: 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:19:51 UTC 2025


On Fri, 4 Jul 2025 07:52:05 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 313d34a3
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/313d34a35dd156ca04c008a0f7a4f8293948591d
Stats:     87 lines in 5 files changed: 76 ins; 1 del; 10 mod

8361390: [lworld] Assert during C2 compilation because EA does not properly handle null-free arrays

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

PR: https://git.openjdk.org/valhalla/pull/1501


More information about the valhalla-dev mailing list