internal/runtime/atomic.Uint64.Load (method)
75 uses
internal/runtime/atomic (current package)
types.go#L308: func (u *Uint64) Load() uint64 {
types.go#L437: r := f.u.Load()
internal/runtime/exithook
hooks.go#L58: if Goid() == runGoid.Load() {
runtime
histogram.go#L143: hist.counts[0] = h.underflow.Load()
histogram.go#L145: hist.counts[i+1] = h.counts[i].Load()
histogram.go#L147: hist.counts[len(hist.counts)-1] = h.overflow.Load()
metrics.go#L693: a.heapScan = gcController.heapScan.Load()
metrics.go#L694: a.stackScan = gcController.lastStackScan.Load()
metrics.go#L695: a.globalsScan = gcController.globalsScan.Load()
mgc.go#L609: return gcController.heapLive.Load() >= trigger
mgc.go#L707: work.heap0 = gcController.heapLive.Load()
mgc.go#L1012: work.heap1 = gcController.heapLive.Load()
mgc.go#L1261: gcController.lastStackScan.Load()>>20, " MB stacks, ",
mgc.go#L1262: gcController.globalsScan.Load()>>20, " MB globals, ",
mgc.go#L1747: work.initialHeapLive = gcController.heapLive.Load()
mgclimit.go#L410: if limiterEventStamp(e.stamp.Load()).typ() != limiterEventNone {
mgclimit.go#L425: old := limiterEventStamp(e.stamp.Load())
mgclimit.go#L452: stamp = limiterEventStamp(e.stamp.Load())
mgcpacer.go#L394: c.triggered = c.heapLive.Load()
mgcpacer.go#L460: " (scan ", gcController.heapScan.Load()>>20, " MB in ",
mgcpacer.go#L497: live := c.heapLive.Load()
mgcpacer.go#L498: scan := c.heapScan.Load()
mgcpacer.go#L507: scanWorkExpected := int64(c.lastHeapScan + c.lastStackScan.Load() + c.globalsScan.Load())
mgcpacer.go#L513: maxStackScan := c.maxStackScan.Load()
mgcpacer.go#L514: maxScanWork := int64(scan + maxStackScan + c.globalsScan.Load())
mgcpacer.go#L613: if c.heapLive.Load() <= c.triggered {
mgcpacer.go#L657: currentConsMark := (float64(c.heapLive.Load()-c.triggered) * (utilization + idleUtilization)) /
mgcpacer.go#L678: print(c.heapScanWork.Load(), "+", c.stackScanWork.Load(), "+", c.globalsScanWork.Load(), " B work (", c.lastHeapScan+c.lastStackScan.Load()+c.globalsScan.Load(), " B exp.) ")
mgcpacer.go#L679: live := c.heapLive.Load()
mgcpacer.go#L911: goal = c.gcPercentHeapGoal.Load()
mgcpacer.go#L920: sweepDistTrigger := c.sweepDistMinTrigger.Load()
mgcpacer.go#L960: heapAlloc = c.totalAlloc.Load() - c.totalFree.Load() // Heap object bytes in use.
mgcpacer.go#L961: mappedReady = c.mappedReady.Load() // Total unreleased mapped memory.
mgcpacer.go#L1150: runway := c.runway.Load()
mgcpacer.go#L1196: c.sweepDistMinTrigger.Store(c.heapLive.Load() + sweepMinHeapDistance)
mgcpacer.go#L1204: gcPercentHeapGoal = c.heapMarked + (c.heapMarked+c.lastStackScan.Load()+c.globalsScan.Load())*uint64(gcPercent)/100
mgcpacer.go#L1236: c.runway.Store(uint64((c.consMark * (1 - gcGoalUtilization) / (gcGoalUtilization)) * float64(c.lastHeapScan+c.lastStackScan.Load()+c.globalsScan.Load())))
mgcpacer.go#L1348: old := c.idleMarkWorkers.Load()
mgcpacer.go#L1375: p := c.idleMarkWorkers.Load()
mgcpacer.go#L1383: old := c.idleMarkWorkers.Load()
mgcpacer.go#L1403: old := c.idleMarkWorkers.Load()
mgcscavenge.go#L179: mappedReady := gcController.mappedReady.Load()
mgcscavenge.go#L407: return heapRetained() <= scavenge.gcPercentGoal.Load() &&
mgcscavenge.go#L408: gcController.mappedReady.Load() <= scavenge.memoryLimitGoal.Load()
mgcscavenge.go#L1201: return unpackScavChunkData(sc.value.Load())
mgcsweep.go#L177: live := gcController.heapLive.Load()
mgcsweep.go#L178: print("pacer: sweep done at heap size ", live>>20, "MB; allocated ", (live-mheap_.sweepHeapLiveBasis)>>20, "MB during sweep; swept ", mheap_.pagesSwept.Load(), " pages at ", mheap_.sweepPagesPerByte, " pages/byte\n")
mgcsweep.go#L924: sweptBasis := mheap_.pagesSweptBasis.Load()
mgcsweep.go#L925: live := gcController.heapLive.Load()
mgcsweep.go#L947: for pagesTarget > int64(mheap_.pagesSwept.Load()-sweptBasis) {
mgcsweep.go#L952: if mheap_.pagesSweptBasis.Load() != sweptBasis {
mgcsweep.go#L991: heapLiveBasis := gcController.heapLive.Load()
mgcsweep.go#L1001: pagesSwept := mheap_.pagesSwept.Load()
mheap.go#L783: if h.reclaimIndex.Load() >= 1<<63 {
mheap.go#L1278: inuse := gcController.mappedReady.Load()
mheap.go#L1286: if goal := scavenge.gcPercentGoal.Load(); goal != ^uint64(0) && growth > 0 {
mspanset.go#L357: return headTailIndex(h.u.Load())
mstats.go#L480: if gcController.totalAlloc.Load() != totalAlloc {
mstats.go#L481: print("runtime: totalAlloc=", gcController.totalAlloc.Load(), "\n")
mstats.go#L485: if gcController.totalFree.Load() != totalFree {
mstats.go#L486: print("runtime: totalFree=", gcController.totalFree.Load(), "\n")
mstats.go#L493: if gcController.mappedReady.Load() != totalMapped-uint64(consStats.released) {
mstats.go#L494: print("runtime: mappedReady=", gcController.mappedReady.Load(), "\n")
profbuf.go#L153: return uint32(b.overflow.Load()) > 0
profbuf.go#L160: overflow := b.overflow.Load()
profbuf.go#L161: time = b.overflowTime.Load()
profbuf.go#L172: overflow = b.overflow.Load()
profbuf.go#L173: time = b.overflowTime.Load()
profbuf.go#L182: overflow := b.overflow.Load()
 |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |