go
go copied to clipboard
The Go programming language
Go 1.18.3. Not sure what I expect when I use `go tool pprof's web mode to see the graphviz SVG output on a node using generics, but not this: Either...
The `x` dependencies vendored into the standard library (via `src/go.mod` and `src/cmd/go.mod`) should be updated for each code freeze, so that we can apply any needed fixes to those dependencies...
[2022-07-22T21:31:20-a2a2477-c5da4fb/windows-amd64-longtest](https://build.golang.org/log/db36ae31bb8a3d6ad838c69ec92e2aef049a70cc) ``` --- FAIL: TestInput (150.23s) panic: runtime error: index out of range [0] with length 0 [recovered] panic: runtime error: index out of range [0] with length 0 goroutine...
@mdempsky requested issue #54302 to be considered for backport to the next 1.19 minor release. > @gopherbot Please backport to Go 1.19. This is a regression from Go 1.18.
### Background The handling of panics and calls to `runtime.Goexit` in `x/sync/errgroup` has come up several times in its history: * #40484 asked why we don't recover panics in goroutines....
See https://github.com/golang/go/blob/0c4db1e347dc51589e5289388305b02108ca0aa1/src/cmd/go/script_test.go#L816 I'm using this via https://github.com/rogpeppe/go-internal/tree/master/testscript And I do understand that one reason why you're having this in an internal package is that you don't want bug reports about...
When the arm architecture is compiled with `GOARM=5`, the linker rewrites TLS register loads from `MRC` with a call to `runtime.read_tls_fallback` - on OpenBSD post 6.9, this fails since `runtime.read_tls_fallback`...
### What version of Go are you using (`go version`)? $ go version go version go1.19 linux/amd64 ### Does this issue reproduce with the latest release? Yes ### What operating...
Looking at https://pkg.go.dev/net/http/pprof as of Go 1.18.4, the following endpoints are documented: * heap * profile * block * mutex * trace From looking at https://cs.opensource.google/go/go/+/refs/tags/go1.18.4:src/net/http/pprof/pprof.go;l=344-354, the following are seemingly...
The docs at the moment only mention a few of the available profiles. See https://golang.org/pkg/net/http/pprof/ But there are plenty more: ``` var profileDescriptions = map[string]string{ "allocs": "A sampling of all...