[lworld] RFR: 8376883: [lworld] Only enable compiler/valhalla/inlinetypes/TestTrivialMethods.java for aarch64 and x86
Tobias Hartmann
thartmann at openjdk.org
Mon Feb 2 14:06:18 UTC 2026
On Mon, 2 Feb 2026 09:09:33 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Hi,
>
> Please consider this small test-only change.
> Seems this test depends on the two optimizations: -XX:+InlineTypePassFieldsAsArgs and -XX:-InlineTypeReturnedAsFields.
> It fails without either of them. So it might be more reasonable to only enable it for platforms which implement these
> two optimizations.
>
> Verified on linux-aarch64 platform.
Looks good to me too. Thanks!
-------------
Marked as reviewed by thartmann (Committer).
PR Review: https://git.openjdk.org/valhalla/pull/2009#pullrequestreview-3739609746
More information about the valhalla-dev
mailing list