On Sat, 12 Sep 2026 06:07:17 GMT, Yasumasa Suenaga <[email protected]> wrote:
> Valhalla introduced new array type which hosts flattened value object,
> however SA cannot inspect it.
> Actually `FlatArray.iterateFields()` has following lines:
>
>
> for (int index = 0; index < length; index++) {
> // FIXME - call visitor.doXXX() for each component of each value object
> }
>
>
> This PR addressed it.
>
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK
> Interim AI Policy](https://openjdk.org/legal/ai).
This pull request has now been integrated.
Changeset: c9661bb6
Author: Yasumasa Suenaga <[email protected]>
URL:
https://git.openjdk.org/jdk/commit/c9661bb64bdf788bcc67d888980691948e406a1e
Stats: 277 lines in 14 files changed: 248 ins; 2 del; 27 mod
8381336: SA FlatArray support is incomplete
Reviewed-by: sspitsyn, cjplummer
-------------
PR: https://git.openjdk.org/jdk/pull/32849