[lworld] RFR: 8372259: [lworld] Merge of 8327963 produces assertion escape.cpp "new projection should have been allocated"

Quan Anh Mai qamai at openjdk.org
Tue Jan 13 13:56:22 UTC 2026


On Tue, 13 Jan 2026 08:54:58 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> There are 2 issues here:
>> 
>> - The markword of an allocation is set incorrectly during GraphKit::set_outputs_for_allocation
>> - Compile::adjust_flat_array_access_aliases does not work when there is no MemNode into flat arrays, but we can have allocations, which introduce NarrowMemProjs, and in that case we need to handle it, too.
>> 
>> This PR solves these issues, most of the changes are identation changes only.
>> 
>> Please kindly review, thanks a lot.
>
> Looks good to me!

@TobiHartmann Thanks a lot for your review. The failure of `TestArrays` can be reproduced on `lworld` as well. So, I think I will integrate this PR.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1873#issuecomment-3744454839


More information about the valhalla-dev mailing list