diff --git a/src/runtime/proc1.go b/src/runtime/proc1.go index 1c81b1252a..753a3a5058 100644 --- a/src/runtime/proc1.go +++ b/src/runtime/proc1.go @@ -216,9 +216,6 @@ const freezeStopWait = 0x7fffffff // There is no reverse operation, used during crashing. // This function must not lock any mutexes. func freezetheworld() { - if gomaxprocs == 1 { - return - } // stopwait and preemption requests can be lost // due to races with concurrently executing threads, // so try several times