internal/runtime/atomic.Uint64.Load (method)
81 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()
mcleanup.go#L447: wu := q.workUnits.Load()
mcleanup.go#L515: if q.workUnits.Load() > 0 {
mcleanup.go#L589: return q.workUnits.Load() > 0 && (q.asleep.Load() > 0 || q.ng.Load() < maxCleanupGs())
mcleanup.go#L601: work := q.workUnits.Load()
mcleanup.go#L695: executed = q.executed.Load()
metrics.go#L767: a.heapScan = gcController.heapScan.Load()
metrics.go#L768: a.stackScan = gcController.lastStackScan.Load()
metrics.go#L769: a.globalsScan = gcController.globalsScan.Load()
metrics.go#L813: a.gCreated += sched.goroutinesCreated.Load()
mgc.go#L713: return gcController.heapLive.Load() >= trigger
mgc.go#L827: work.heap0 = gcController.heapLive.Load()
mgc.go#L1348: work.heap1 = gcController.heapLive.Load()
mgc.go#L1611: gcController.lastStackScan.Load()>>20, " MB stacks, ",
mgc.go#L1612: gcController.globalsScan.Load()>>20, " MB globals, ",
mgc.go#L2132: work.initialHeapLive = gcController.heapLive.Load()
mgclimit.go#L408: if limiterEventStamp(e.stamp.Load()).typ() != limiterEventNone {
mgclimit.go#L423: old := limiterEventStamp(e.stamp.Load())
mgclimit.go#L450: stamp = limiterEventStamp(e.stamp.Load())
mgcpacer.go#L396: c.triggered = c.heapLive.Load()
mgcpacer.go#L462: " (scan ", gcController.heapScan.Load()>>20, " MB in ",
mgcpacer.go#L499: live := c.heapLive.Load()
mgcpacer.go#L500: scan := c.heapScan.Load()
mgcpacer.go#L509: scanWorkExpected := int64(c.lastHeapScan + c.lastStackScan.Load() + c.globalsScan.Load())
mgcpacer.go#L515: maxStackScan := c.maxStackScan.Load()
mgcpacer.go#L516: maxScanWork := int64(scan + maxStackScan + c.globalsScan.Load())
mgcpacer.go#L615: if c.heapLive.Load() <= c.triggered {
mgcpacer.go#L659: currentConsMark := (float64(c.heapLive.Load()-c.triggered) * (utilization + idleUtilization)) /
mgcpacer.go#L680: print(c.heapScanWork.Load(), "+", c.stackScanWork.Load(), "+", c.globalsScanWork.Load(), " B work (", c.lastHeapScan+c.lastStackScan.Load()+c.globalsScan.Load(), " B exp.) ")
mgcpacer.go#L681: live := c.heapLive.Load()
mgcpacer.go#L1004: goal = c.gcPercentHeapGoal.Load()
mgcpacer.go#L1013: sweepDistTrigger := c.sweepDistMinTrigger.Load()
mgcpacer.go#L1053: heapAlloc = c.totalAlloc.Load() - c.totalFree.Load() // Heap object bytes in use.
mgcpacer.go#L1054: mappedReady = c.mappedReady.Load() // Total unreleased mapped memory.
mgcpacer.go#L1243: runway := c.runway.Load()
mgcpacer.go#L1289: c.sweepDistMinTrigger.Store(c.heapLive.Load() + sweepMinHeapDistance)
mgcpacer.go#L1297: gcPercentHeapGoal = c.heapMarked + (c.heapMarked+c.lastStackScan.Load()+c.globalsScan.Load())*uint64(gcPercent)/100
mgcpacer.go#L1329: c.runway.Store(uint64((c.consMark * (1 - gcGoalUtilization) / (gcGoalUtilization)) * float64(c.lastHeapScan+c.lastStackScan.Load()+c.globalsScan.Load())))
mgcpacer.go#L1441: old := c.idleMarkWorkers.Load()
mgcpacer.go#L1468: p := c.idleMarkWorkers.Load()
mgcpacer.go#L1476: old := c.idleMarkWorkers.Load()
mgcpacer.go#L1496: 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#L927: sweptBasis := mheap_.pagesSweptBasis.Load()
mgcsweep.go#L928: live := gcController.heapLive.Load()
mgcsweep.go#L950: for pagesTarget > int64(mheap_.pagesSwept.Load()-sweptBasis) {
mgcsweep.go#L955: if mheap_.pagesSweptBasis.Load() != sweptBasis {
mgcsweep.go#L994: heapLiveBasis := gcController.heapLive.Load()
mgcsweep.go#L1004: pagesSwept := mheap_.pagesSwept.Load()
mheap.go#L839: if h.reclaimIndex.Load() >= 1<<63 {
mheap.go#L1333: inuse := gcController.mappedReady.Load()
mheap.go#L1341: if goal := scavenge.gcPercentGoal.Load(); goal != ^uint64(0) && growth > 0 {
mspanset.go#L379: return headTailIndex(h.u.Load())
mstats.go#L482: if gcController.totalAlloc.Load() != totalAlloc {
mstats.go#L483: print("runtime: totalAlloc=", gcController.totalAlloc.Load(), "\n")
mstats.go#L487: if gcController.totalFree.Load() != totalFree {
mstats.go#L488: print("runtime: totalFree=", gcController.totalFree.Load(), "\n")
mstats.go#L495: if gcController.mappedReady.Load() != totalMapped-uint64(consStats.released) {
mstats.go#L496: print("runtime: mappedReady=", gcController.mappedReady.Load(), "\n")
profbuf.go#L157: return uint32(b.overflow.Load()) > 0
profbuf.go#L164: overflow := b.overflow.Load()
profbuf.go#L165: time = b.overflowTime.Load()
profbuf.go#L176: overflow = b.overflow.Load()
profbuf.go#L177: time = b.overflowTime.Load()
profbuf.go#L186: overflow := b.overflow.Load()
 |
The pages are generated with Golds v0.8.4. (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. |