runtime/internal/atomic.Uint64.Load (method)

77 uses

	runtime/internal/atomic (current package)
		types.go#L308: func (u *Uint64) Load() uint64 {
		types.go#L437: 	r := f.u.Load()

	runtime
		metrics.go#L324: 				hist.counts[0] = memstats.gcPauseDist.underflow.Load()
		metrics.go#L326: 					hist.counts[i+1] = memstats.gcPauseDist.counts[i].Load()
		metrics.go#L328: 				hist.counts[len(hist.counts)-1] = memstats.gcPauseDist.overflow.Load()
		metrics.go#L455: 				hist.counts[0] = sched.timeToRun.underflow.Load()
		metrics.go#L457: 					hist.counts[i+1] = sched.timeToRun.counts[i].Load()
		metrics.go#L459: 				hist.counts[len(hist.counts)-1] = sched.timeToRun.overflow.Load()
		metrics.go#L685: 	a.heapScan = gcController.heapScan.Load()
		metrics.go#L686: 	a.stackScan = uint64(gcController.lastStackScan.Load())
		metrics.go#L687: 	a.globalsScan = gcController.globalsScan.Load()
		mgc.go#L580: 		return gcController.heapLive.Load() >= trigger
		mgc.go#L677: 	work.heap0 = gcController.heapLive.Load()
		mgc.go#L947: 	work.heap1 = gcController.heapLive.Load()
		mgc.go#L1168: 			gcController.lastStackScan.Load()>>20, " MB stacks, ",
		mgc.go#L1169: 			gcController.globalsScan.Load()>>20, " MB globals, ",
		mgc.go#L1626: 	work.initialHeapLive = gcController.heapLive.Load()
		mgclimit.go#L409: 	if limiterEventStamp(e.stamp.Load()).typ() != limiterEventNone {
		mgclimit.go#L424: 		old := limiterEventStamp(e.stamp.Load())
		mgclimit.go#L451: 		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#L905: 	goal = c.gcPercentHeapGoal.Load()
		mgcpacer.go#L914: 		sweepDistTrigger := c.sweepDistMinTrigger.Load()
		mgcpacer.go#L954: 		heapAlloc = c.totalAlloc.Load() - c.totalFree.Load() // Heap object bytes in use.
		mgcpacer.go#L955: 		mappedReady = c.mappedReady.Load()                   // Total unreleased mapped memory.
		mgcpacer.go#L1146: 	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#L1228: 	return unpackScavChunkData(sc.value.Load())
		mgcsweep.go#L179: 				live := gcController.heapLive.Load()
		mgcsweep.go#L180: 				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#L893: 	sweptBasis := mheap_.pagesSweptBasis.Load()
		mgcsweep.go#L894: 	live := gcController.heapLive.Load()
		mgcsweep.go#L916: 	for pagesTarget > int64(mheap_.pagesSwept.Load()-sweptBasis) {
		mgcsweep.go#L921: 		if mheap_.pagesSweptBasis.Load() != sweptBasis {
		mgcsweep.go#L958: 		heapLiveBasis := gcController.heapLive.Load()
		mgcsweep.go#L968: 		pagesSwept := mheap_.pagesSwept.Load()
		mheap.go#L795: 	if h.reclaimIndex.Load() >= 1<<63 {
		mheap.go#L1284: 		inuse := gcController.mappedReady.Load()
		mheap.go#L1292: 	if goal := scavenge.gcPercentGoal.Load(); goal != ^uint64(0) && growth > 0 {
		mspanset.go#L357: 	return headTailIndex(h.u.Load())
		mstats.go#L475: 	if gcController.totalAlloc.Load() != totalAlloc {
		mstats.go#L476: 		print("runtime: totalAlloc=", gcController.totalAlloc.Load(), "\n")
		mstats.go#L480: 	if gcController.totalFree.Load() != totalFree {
		mstats.go#L481: 		print("runtime: totalFree=", gcController.totalFree.Load(), "\n")
		mstats.go#L488: 	if gcController.mappedReady.Load() != totalMapped-uint64(consStats.released) {
		mstats.go#L489: 		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()