You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
runtime: Fix panic if newstack at runtime.acquireLockRank
The function named `acquireLockRank` at `src/runtime/lockrank_on.go`
with `go:nosplit`, but at `src/runtime/lockrank_off.go` without
`go:nosplit`. GOEXPERIMENT="" in default, process will panic if
newstack at runtime.acquireLockRank with `gcflags="all=-N -l"`.
Similarly, function `lockWithRank`, `unlockWithRank`, `releaseLockRank`
and `lockWithRankMayAcquire`.
Fixes#40843
0 commit comments