RFR: 8253765: C2: Control randomization in StressLCM and StressGCM

Roberto Castañeda Lozano github.com+8792647+robcasloz at openjdk.java.net
Fri Oct 9 08:35:28 UTC 2020


On Fri, 9 Oct 2020 08:09:05 GMT, Roberto Castañeda Lozano <github.com+8792647+robcasloz at openjdk.org> wrote:

> Use the compilation-local seed in `StressLCM` and `StressGCM` rather than the global one. As a consequence, these
> options use by default a fresh seed in every compilation, unless `StressSeed=N` is specified, in which case they behave
> deterministically. Annotate tests that use `StressLCM` and `StressGCM` with the `stress` and `randomness` keys to
> reflect this change in default behavior.  Tested on `tier1` and on all test cases that use `StressLCM` and `StressGCM`
> (10 times each).

Use the compilation-local seed in 'StressLCM' and 'StressGCM' rather than the
global one. As a consequence, these options use by default a fresh seed in every
compilation, unless 'StressSeed=N' is specified, in which case they behave
deterministically. Annotate tests that use 'StressLCM' and 'StressGCM' with the
'stress' and 'randomness' keys to reflect this change in default behavior.

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

PR: https://git.openjdk.java.net/jdk/pull/572


More information about the hotspot-compiler-dev mailing list