aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/runtime.go')
-rw-r--r--src/runtime/runtime.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/runtime.go b/src/runtime/runtime.go
index 3afb6558b0..016cbdae58 100644
--- a/src/runtime/runtime.go
+++ b/src/runtime/runtime.go
@@ -151,6 +151,7 @@ func godebug_setNewIncNonDefault(newIncNonDefault func(string) func()) {
p := new(func(string) func())
*p = newIncNonDefault
godebugNewIncNonDefault.Store(p)
+ defaultGOMAXPROCSUpdateGODEBUG()
}
// A godebugInc provides access to internal/godebug's IncNonDefault function