Go: runtime: sometimes 100% CPU spin during init phase in Go 1.14 with preemptive scheduler [1.14 backport]

Created on 13 Mar 2020  路  5Comments  路  Source: golang/go

@randall77 requested issue #37741 to be considered for backport to the next 1.14 minor release.

@gopherbot please open a backport issue to 1.14.1.

CherryPickApproved

Most helpful comment

@randall77 And others, thank you very much!! I still encounter this issue dozens of times per day so needless to say I am thrilled it was made a priority and I can't wait for the Go 1.14.1 release!

All 5 comments

This issue causes binaries on Darwin (and possibly other OSes) to randomly hang, particularly on startup.

Change https://golang.org/cl/223939 mentions this issue: [release-branch.go1.14] runtime: don't send preemption signal if there is a signal pending

Approved. As this is a serious issue without any workaround.

Closed by merging e577ba98d8d9f4464d6dfaaf2fa51d328233c81e to release-branch.go1.14.

@randall77 And others, thank you very much!! I still encounter this issue dozens of times per day so needless to say I am thrilled it was made a priority and I can't wait for the Go 1.14.1 release!

Was this page helpful?
0 / 5 - 0 ratings