runtime.mstats.next_gc (field)
14 uses
runtime (current package)
metrics.go#L367: a.heapGoal = atomic.Load64(&memstats.next_gc)
mgc.go#L448: if memstats.next_gc < memstats.heap_live+1024*1024 {
mgc.go#L449: memstats.next_gc = memstats.heap_live + 1024*1024
mgc.go#L496: memstats.next_gc>>20, " MB)",
mgc.go#L536: heapGoal := int64(atomic.Load64(&memstats.next_gc))
mgc.go#L895: print("runtime: next_gc=", memstats.next_gc, " heap_marked=", memstats.heap_marked, " heap_live=", memstats.heap_live, " initialHeapLive=", work.initialHeapLive, "triggerRatio=", triggerRatio, " minTrigger=", minTrigger, "\n")
mgc.go#L908: atomic.Store64(&memstats.next_gc, goal)
mgc.go#L967: egogc := float64(atomic.Load64(&memstats.next_gc)-memstats.heap_marked) / float64(memstats.heap_marked)
mgc.go#L1391: work.heapGoal = memstats.next_gc
mgc.go#L1695: memstats.last_next_gc = memstats.next_gc
mgcscavenge.go#L126: goalRatio := float64(atomic.Load64(&memstats.next_gc)) / float64(memstats.last_next_gc)
mstats.go#L69: next_gc uint64
mstats.go#L526: stats.NextGC = memstats.next_gc
trace.go#L1150: if nextGC := atomic.Load64(&memstats.next_gc); nextGC == ^uint64(0) {
 |
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. |