mirror of https://github.com/golang/go.git
Goroutine profiles require checking in with the profiler before any goroutine starts running. coroswitch is a place where a goroutine may start running, but where we do not check in with the profiler, which leads to crashes. Fix this by checking in with the profiler the same way execute does. Fixes #69998. Change-Id: Idef6dd31b70a73dd1c967b56c307c7a46a26ba73 Reviewed-on: https://go-review.googlesource.com/c/go/+/622016 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> |
||
|---|---|---|
| .. | ||
| testdata | ||
| defs_darwin.go | ||
| defs_darwin_amd64.go | ||
| defs_darwin_arm64.go | ||
| elf.go | ||
| label.go | ||
| label_test.go | ||
| map.go | ||
| mprof_test.go | ||
| pe.go | ||
| pprof.go | ||
| pprof_norusage.go | ||
| pprof_rusage.go | ||
| pprof_test.go | ||
| pprof_windows.go | ||
| proto.go | ||
| proto_darwin.go | ||
| proto_other.go | ||
| proto_test.go | ||
| proto_windows.go | ||
| protobuf.go | ||
| protomem.go | ||
| protomem_test.go | ||
| runtime.go | ||
| runtime_test.go | ||
| rusage_test.go | ||
| vminfo_darwin.go | ||
| vminfo_darwin_test.go | ||