You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JIT: Reconsider how stress modes are randomly applied #83733
That seems like it would have a very bad distribution -- there's only a few dozens of stress modes so this at most affects only the few lowest bits of the hash code, in a very predictable way.
Additionally, reordering members in the enum leads to an entirely different (unrelated) set of stress modes being enabled/disabled. This for example happened in #79283.
I think it would be better if we derived a hash from the string name of each stress mode and then xor'd with that instead (e.g. using HashStringA). That would be more similar to how other randomness is mixed in as well.
Activity
JIT: Seed stress modes by string hash (#83771)