[lworld] RFR: 8377881: [lworld] compiler/valhalla/inlinetypes/TestGenerated.java is slow without C2
Christian Hagedorn
chagedorn at openjdk.org
Fri Feb 13 10:42:57 UTC 2026
On Fri, 13 Feb 2026 09:09:49 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> I adjusted the test to run with less iterations when C2 is not available. I verified that nothing interesting happens anymore after `1000` iterations (because execution is slow which gives the compiler threads enough time to compile everything). With C2, execution is much faster and we therefore need more iterations to trigger compilations of all interesting methods.
>
> Thanks,
> Tobias
That's a good solution!
-------------
Marked as reviewed by chagedorn (Committer).
PR Review: https://git.openjdk.org/valhalla/pull/2101#pullrequestreview-3796535304
More information about the valhalla-dev
mailing list