/ go Public
runtime: enable scheduler randomization independent of the race detector #43794
Issues related to the Go compiler and/or runtime.
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
-racedoes scheduler randomization. This has proved to be a useful way to flush out logical races, bad lock orderings, etc.
However, running with the race detector enabled (a) is slow and (b) is only supported on a subset of platforms.
I propose that we make it possible to run with scheduler randomization enabled, independent of whether the race detector is enabled.
I believe that this could be done entirely at run time, perhaps via a GODEBUG flag.
cc @dvyukov @bradfitz @aclements @mknyszek
The text was updated successfully, but these errors were encountered: