sync/atomic.LoadPointer
standard libraryThe 2878th most-called standard-library function by production calls. Called 241 times across 40 modules; 207 of those run outside tests and generated code.
- prod calls
- 207
- non-test, non-generated
- all calls
- 241
- total callsites
- modules
- 40
- distinct callers
- in loop
- 32%
- of prod calls
- in tests
- 4%
- 10 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 LoadPointer from notable Go projects. Open one on the map to see what else it hammers.
- gRPC 18 9%
- CockroachDB 15 7%
- Protocol Buffers 11 5%
- Cilium 1 <1%
- Docker 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 241, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
-
RomiChan/syncx @v0.0.0-20240418144900-b7402ffdebc7
in loop - in loop
- in loop
-
google/grumpy @v0.0.0-20171122020858-3ec87959189c
in loop -
google/gvisor @v0.0.0-20260805052044-b67f1412986c
in loop - in loop
-
sagernet/gvisor @v0.0.0-20260727.0-sing-box-mod.1
in loop -
tylertreat/BoomFilters @v0.0.0-20251117164519-53813c36cc1b
in loop -
grpc/grpc-go @v1.83.0
in loop -
google.golang.org/grpc @v1.83.0
balancer/rls/picker.go:190
in loop
top callers
The modules that reach for it
The modules that call LoadPointer most in this snapshot.
- github.com/bytedance/gopkg4519%
- github.com/google/gvisor2912%
- github.com/sagernet/gvisor2711%
- github.com/cockroachdb/cockroach156%
- github.com/syndtr/goleveldb146%
siblings
More from sync/atomic
The other most-called functions in this package. See all →