runtime.GC
standard libraryThe 2006th most-called standard-library function by production calls. Called 760 times across 170 modules; 304 of those run outside tests and generated code.
- prod calls
- 304
- non-test, non-generated
- all calls
- 760
- total callsites
- modules
- 170
- distinct callers
- in loop
- 15%
- of prod calls
- in tests
- 60%
- 456 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into GC from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 9 3%
- gRPC 6 2%
- Go (golang.org/x) 5 2%
- Cilium 4 1%
- Grafana 4 1%
where it's called
Callsites in the wild
12 representative callsites of 760, prioritizing in-loop and non-test usage. We link to source, never display it.
-
argoproj/pkg @v0.13.6
in loop - in loop
-
dgraph-io/dgraph @v1.2.8
in loop -
DNSCrypt/dnscrypt-proxy @v0.0.0-20260801091651-c3ba78fac8a3
in loop - in loop
-
canopy-network/canopy @v0.1.21-0.20260804152417-f06389d8a755
in loop -
golang/go @v0.0.0-20260805010601-5d7583fe1f94
in loop -
google/gvisor @v0.0.0-20260805052044-b67f1412986c
in loop - in loop
- in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call GC most in this snapshot.
- github.com/golang/go11315%
- github.com/cznic/mathutil284%
- github.com/kubernetes/kubernetes233%
- github.com/bytedance/sonic213%
- github.com/uber-go/tally213%
siblings
More from runtime
The other most-called functions in this package. See all →