Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for arenaLimit (0.1 sec)

  1. src/runtime/mheap.go

    		// at heapArenaBytes.
    		arenaLimit := arenaBase + npage*pageSize
    		if arenaLimit > heapArenaBytes {
    			arenaLimit = heapArenaBytes
    		}
    		// Increase ha.zeroedBase so it's >= arenaLimit.
    		// We may be racing with other updates.
    		for arenaLimit > zeroedBase {
    			if atomic.Casuintptr(&ha.zeroedBase, zeroedBase, arenaLimit) {
    				break
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top