RFR: 8346107: Generators: testing utility for random value generation

Emanuel Peter epeter at openjdk.org
Tue Jan 7 14:17:37 UTC 2025


On Tue, 7 Jan 2025 14:09:14 GMT, Theo Weidmann <tweidmann at openjdk.org> wrote:

>> Only if none remain -> throw
>
> Also sounds good to me. You have a better overview over the use-cases, so I'll just go with that :)

Hmm. But what if I at some point get the "special" distribution from `Generators.ints`, but then want to draw from a range that has no elements? I kinda need that to not throw for the Templates.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22941#discussion_r1905518088


More information about the hotspot-compiler-dev mailing list