RFR: 8344942: Template-Based Testing Framework [v17]

Emanuel Peter epeter at openjdk.org
Wed May 14 13:29:56 UTC 2025


On Wed, 14 May 2025 13:13:08 GMT, Manuel Hässig <mhaessig at openjdk.org> wrote:

> Thank you, Emanuel, for working on this! I'm already looking forward to using it.
> 
> I did a superficial pass to get an overview and gain understanding. Apart from some typos, my main concern is reproducability with the randomness introduced in `NameSet`.

@mhaessig Thanks for reviewing 😊 

The randomness depends on a seed, which is usually picked randomly, but can be fixed for reproducibility. That is why I always use `static final Random RANDOM = Utils.getRandomInstance();` from `jdk.test.lib.Utils`.
Then the test produces this in the output:

For random generator using seed: 3152575406766939100
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=3152575406766939100" to command line.


I'll have a look at your comments now :)

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

PR Comment: https://git.openjdk.org/jdk/pull/24217#issuecomment-2880247554


More information about the hotspot-compiler-dev mailing list