RFR: 8252219: C2: Randomize IGVN worklist for stress testing [v3]

Roberto Castaneda Lozano github.com+8792647+robcasloz at openjdk.java.net
Thu Sep 24 07:29:10 UTC 2020


On Wed, 23 Sep 2020 15:18:34 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> src/hotspot/share/opto/c2_globals.hpp line 55:
>> 
>>> 53:           "Randomize worklist traversal in IGVN")                           \
>>> 54:                                                                             \
>>> 55:   product(bool, GenerateStressSeed, false, DIAGNOSTIC,                      \
>> 
>> Is this flag really required? We could simply generate the seed if StressSeed has not been specified on the command
>> line (see `FLAG_IS_DEFAULT` macro).
>
> Agree.

Done. I didn't know about `FLAG_IS_DEFAULT`, thanks!

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

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


More information about the hotspot-compiler-dev mailing list