[lworld] Integrated: 8355397: [lworld] Parse::array_load fails with "array can't be flat" assert
Quan Anh Mai
qamai at openjdk.org
Wed Apr 30 05:16:59 UTC 2025
On Sun, 27 Apr 2025 12:03:04 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:
> Hi,
>
> The issue here is that `InstanceKlass::flat_array` is too strict and it rejects any class that is atomic and has more than 1 field. I remove the unnecessary restrictions and rename the method to `maybe_flat_in_array` to illustrate the functionality in a clearer manner.
>
> Please kindly review, thanks a lot.
This pull request has now been integrated.
Changeset: 714930ee
Author: Quan Anh Mai <qamai at openjdk.org>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/714930ee3b79eea215a475a770bcf0544ca4780f
Stats: 57 lines in 16 files changed: 26 ins; 8 del; 23 mod
8355397: [lworld] Parse::array_load fails with "array can't be flat" assert
Reviewed-by: thartmann
-------------
PR: https://git.openjdk.org/valhalla/pull/1446
More information about the valhalla-dev
mailing list