[lworld] RFR: 8376883: [lworld] Only enable compiler/valhalla/inlinetypes/TestTrivialMethods.java for aarch64 and x86

Fei Yang fyang at openjdk.org
Tue Feb 3 02:05:36 UTC 2026


On Mon, 2 Feb 2026 09:32:28 GMT, Paul Hübner <phubner 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.

@Arraying @TobiHartmann : Thanks for the reviews.

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

PR Comment: https://git.openjdk.org/valhalla/pull/2009#issuecomment-3838426344


More information about the valhalla-dev mailing list