runtime.mstats.triggerRatio (field)
10 uses
runtime (current package)
mgc.go#L181: memstats.triggerRatio = 7 / 8.0
mgc.go#L186: memstats.heap_marked = uint64(float64(heapminimum) / (1 + memstats.triggerRatio))
mgc.go#L236: gcSetTriggerRatio(memstats.triggerRatio)
mgc.go#L609: return memstats.triggerRatio
mgc.go#L639: triggerError := goalGrowthRatio - memstats.triggerRatio - utilization/gcGoalUtilization*(actualGrowthRatio-memstats.triggerRatio)
mgc.go#L643: triggerRatio := memstats.triggerRatio + triggerGain*triggerError
mgc.go#L649: h_t := memstats.triggerRatio
mgc.go#L869: memstats.triggerRatio = triggerRatio
mstats.go#L106: triggerRatio float64
 |
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. |