sync/atomic: operations cause unnecessary escapes #16241 got fixed
github.com/golang/go/is... #golang
sync/atomic: operations cause unnecessary escapes · Issue #16241 · golang/go
The atomic Load* and Store* operations cause their argument to unnecessarily escape. For example, in the following program, x is heap allocated: package main import "sync/atomic" func main() { var ...