func runtime/internal/atomic.Xadd64
27 uses
runtime/internal/atomic (current package)
atomic_amd64.go#L54: func Xadd64(ptr *uint64, delta int64) uint64
runtime
histogram.go#L86: atomic.Xadd64(&h.underflow, 1)
histogram.go#L114: atomic.Xadd64(&h.counts[superBucket*timeHistNumSubBuckets+subBucket], 1)
mcache.go#L183: atomic.Xadd64(&memstats.heap_live, int64(s.npages*pageSize)-int64(usedBytes))
mcache.go#L187: atomic.Xadd64(&memstats.tinyallocs, int64(c.tinyAllocs))
mcache.go#L193: atomic.Xadd64(&memstats.heap_scan, int64(c.scanAlloc))
mcache.go#L234: atomic.Xadd64(&memstats.heap_live, int64(npages*pageSize))
mcache.go#L253: atomic.Xadd64(&memstats.heap_scan, int64(c.scanAlloc))
mcache.go#L273: atomic.Xadd64(&memstats.heap_live, -int64(n)*int64(s.elemsize))
mcache.go#L283: atomic.Xadd64(&memstats.tinyallocs, int64(c.tinyAllocs))
mgcscavenge.go#L733: atomic.Xadd64(&memstats.heap_released, nbytes)
mgcsweep.go#L337: atomic.Xadd64(&mheap_.pagesSwept, int64(s.npages))
mgcwork.go#L274: atomic.Xadd64(&work.bytesMarked, int64(w.bytesMarked))
mheap.go#L772: idx := uintptr(atomic.Xadd64(&h.reclaimIndex, pagesPerReclaimerChunk) - pagesPerReclaimerChunk)
mheap.go#L1272: atomic.Xadd64(&memstats.heap_released, -int64(scav))
mheap.go#L1276: atomic.Xadd64(&memstats.heap_inuse, int64(nbytes))
mheap.go#L1317: atomic.Xadd64(&h.pagesInUse, int64(npages))
mheap.go#L1375: atomic.Xadd64(&memstats.heap_released, int64(asize))
mheap.go#L1453: atomic.Xadd64(&h.pagesInUse, -int64(s.npages))
mheap.go#L1467: atomic.Xadd64(&memstats.heap_inuse, -int64(nbytes))
mspanset.go#L332: return headTailIndex(atomic.Xadd64((*uint64)(h), (1 << 32)))
mspanset.go#L337: return headTailIndex(atomic.Xadd64((*uint64)(h), -(1 << 32)))
mspanset.go#L342: ht := headTailIndex(atomic.Xadd64((*uint64)(h), +1))
mstats.go#L756: val := atomic.Xadd64((*uint64)(s), n)
proc.go#L1919: gp.goid = int64(atomic.Xadd64(&sched.goidgen, 1))
proc.go#L4083: _p_.goidcache = atomic.Xadd64(&sched.goidgen, _GoidCacheBatch)
runtime1.go#L123: if atomic.Xadd64(&test_z64, (1<<40)+1) != (2<<40)+2 {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |