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