// Note: After adding entries to this table, update the list in doc/godebug.md as well.
// (Otherwise the test in this package will fail.)
var All = []Info{
- {Name: "asynctimerchan", Package: "time", Changed: 23, Old: "1", Opaque: true},
+ {Name: "asynctimerchan", Package: "time", Changed: 23, Old: "1"},
{Name: "execerrdot", Package: "os/exec"},
{Name: "gocachehash", Package: "cmd/go"},
{Name: "gocachetest", Package: "cmd/go"},
/gc/stack/starting-size:bytes
The stack size of new goroutines.
+ /godebug/non-default-behavior/asynctimerchan:events
+ The number of non-default behaviors executed by the time package
+ due to a non-default GODEBUG=asynctimerchan=... setting.
+
/godebug/non-default-behavior/execerrdot:events
The number of non-default behaviors executed by the os/exec
package due to a non-default GODEBUG=execerrdot=... setting.
// If asynctimerchan=1, we don't even tell the runtime
// about channel timers, so that we get the pre-Go 1.23 code paths.
if asynctimerchan.Value() == "1" {
+ asynctimerchan.IncNonDefault()
return nil
}