Integrated: 8325659: Normalize Random usage by incubator vector tests
Evgeny Nikitin
enikitin at openjdk.org
Tue Apr 9 15:43:14 UTC 2024
On Mon, 8 Apr 2024 10:50:00 GMT, Evgeny Nikitin <enikitin at openjdk.org> wrote:
> Improve RNG usage in said tests:
>
> 1. The RNG is not created by our Utils class, as suggested in our JTReg tests;
> 2. The seed, accordingly, is not a fixed value now, but truly random;
> 3. The tests that had been creating their own Random instances, are now using RAND static member from the AbstractVectorTest;
> 4. The generated tests sources have been re-generated.
>
> The most important change is #2, it could add variability and help cover more JIT Compiler and Runtime scenarios.
This pull request has now been integrated.
Changeset: 4bba445d
Author: Evgeny Nikitin <enikitin at openjdk.org>
Committer: Paul Sandoz <psandoz at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4bba445d835837db5ab145edb24030fc6f42ec24
Stats: 469 lines in 69 files changed: 188 ins; 0 del; 281 mod
8325659: Normalize Random usage by incubator vector tests
Reviewed-by: psandoz
-------------
PR: https://git.openjdk.org/jdk/pull/18675
More information about the core-libs-dev
mailing list