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

Roberto Castañeda Lozano github.com+8792647+robcasloz at openjdk.java.net
Mon Oct 12 11:14:14 UTC 2020


On Mon, 12 Oct 2020 10:53:52 GMT, Tobias Hartmann <thartmann 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).
>
> src/hotspot/share/opto/c2_globals.hpp line 56:
> 
>> 54:                                                                             \
>> 55:   product(uint, StressSeed, 0, DIAGNOSTIC,                                  \
>> 56:           "Seed for randomized stress testing (if unset, a random one is "  \
> 
> The description string misses a `)`

Thanks, will fix!

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

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


More information about the hotspot-compiler-dev mailing list