Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for extHeapGoal (0.11 sec)

  1. src/runtime/mgcpacer.go

    		// This maintains the invariant that we use no more memory than the next GC cycle
    		// will anyway.
    		hardGoal := int64((1.0 + float64(gcPercent)/100.0) * float64(heapGoal))
    		if extHeapGoal > hardGoal {
    			extHeapGoal = hardGoal
    		}
    		heapGoal = extHeapGoal
    	}
    	if int64(live) > heapGoal {
    		// We're already past our heap goal, even the extrapolated one.
    		// Leave ourselves some extra runway, so in the worst case we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top