[lworld] RFR: 8376883: [lworld] Only enable compiler/valhalla/inlinetypes/TestTrivialMethods.java for aarch64 and x86
Paul Hübner
phubner at openjdk.org
Mon Feb 2 09:34:37 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.
Thanks for the patch! Looks good to me, but I think it'd be good to get a compiler expert to take a look as well.
-------------
Marked as reviewed by phubner (Committer).
PR Review: https://git.openjdk.org/valhalla/pull/2009#pullrequestreview-3738258481
More information about the valhalla-dev
mailing list