Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for memoryLimitHeapGoal (0.2 sec)

  1. src/runtime/mgcpacer.go

    		const minRunway = 64 << 10
    		if c.triggered != ^uint64(0) && goal < c.triggered+minRunway {
    			goal = c.triggered + minRunway
    		}
    	}
    	return
    }
    
    // memoryLimitHeapGoal returns a heap goal derived from memoryLimit.
    func (c *gcControllerState) memoryLimitHeapGoal() uint64 {
    	// Start by pulling out some values we'll need. Be careful about overflow.
    	var heapFree, heapAlloc, mappedReady uint64
    	for {
    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