]> Cypherpunks repositories - gostls13.git/commit
runtime,net/http/pprof: goroutine leak detection by using the garbage collector
authorVlad Saioc <vsaioc@uber.com>
Thu, 2 Oct 2025 11:57:58 +0000 (11:57 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 2 Oct 2025 18:06:21 +0000 (11:06 -0700)
commit8c68a1c1abade565c6719159858e76f9b122ddc8
tree3da970e4a670a4ac23d748df30a87cd8daf9555a
parent84db201ae18c889acdefe20c8a903b188328f16d
runtime,net/http/pprof: goroutine leak detection by using the garbage collector

Proposal #74609

Change-Id: I97a754b128aac1bc5b7b9ab607fcd5bb390058c8
GitHub-Last-Rev: 60f2a192badf415112246de8bc6c0084085314f6
GitHub-Pull-Request: golang/go#74622
Reviewed-on: https://go-review.googlesource.com/c/go/+/688335
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: t hepudds <thepudds1460@gmail.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
95 files changed:
src/cmd/link/internal/loader/loader.go
src/internal/goexperiment/exp_goroutineleakprofile_off.go [new file with mode: 0644]
src/internal/goexperiment/exp_goroutineleakprofile_on.go [new file with mode: 0644]
src/internal/goexperiment/flags.go
src/net/http/pprof/pprof.go
src/runtime/chan.go
src/runtime/crash_test.go
src/runtime/goroutineleakprofile_test.go [new file with mode: 0644]
src/runtime/mbitmap.go
src/runtime/mgc.go
src/runtime/mgcmark.go
src/runtime/mgcmark_greenteagc.go
src/runtime/mgcmark_nogreenteagc.go
src/runtime/mprof.go
src/runtime/pprof/pprof.go
src/runtime/pprof/runtime.go
src/runtime/preempt.go
src/runtime/proc.go
src/runtime/runtime2.go
src/runtime/select.go
src/runtime/sema.go
src/runtime/sizeof_test.go
src/runtime/stack.go
src/runtime/testdata/testgoroutineleakprofile/commonpatterns.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/LICENSE [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/README.md [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach10214.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach1055.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach10790.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach13197.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach13755.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach1462.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach16167.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach18101.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach2448.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach24808.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach25456.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach35073.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach35931.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach3710.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach584.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach6181.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach7504.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/cockroach9935.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/etcd10492.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/etcd5509.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/etcd6708.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/etcd6857.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/etcd6873.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/etcd7492.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/etcd7902.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/grpc1275.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/grpc1424.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/grpc1460.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/grpc3017.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/grpc660.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/grpc795.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/grpc862.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/hugo3251.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/hugo5379.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/istio16224.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/istio17860.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/istio18454.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes10182.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes11298.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes13135.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes1321.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes25331.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes26980.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes30872.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes38669.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes5316.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes58107.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes62464.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes6632.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/kubernetes70277.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/main.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/moby17176.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/moby21233.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/moby25384.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/moby27782.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/moby28462.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/moby30408.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/moby33781.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/moby36114.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/moby4951.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/moby7559.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/serving2137.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/syncthing4829.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/goker/syncthing5795.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/main.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/simple.go [new file with mode: 0644]
src/runtime/testdata/testgoroutineleakprofile/stresstests.go [new file with mode: 0644]
src/runtime/traceback.go
src/runtime/tracestatus.go