Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for physPageSize (0.19 sec)

  1. src/runtime/malloc.go

    	}
    
    	// Check physPageSize.
    	if physPageSize == 0 {
    		// The OS init code failed to fetch the physical page size.
    		throw("failed to get system page size")
    	}
    	if physPageSize > maxPhysPageSize {
    		print("system page size (", physPageSize, ") is larger than maximum page size (", maxPhysPageSize, ")\n")
    		throw("bad system page size")
    	}
    	if physPageSize < minPhysPageSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/runtime/mgcscavenge.go

    	gcPercentGoal = (gcPercentGoal + uint64(physPageSize) - 1) &^ (uint64(physPageSize) - 1)
    
    	// Represents where we are now in the heap's contribution to RSS in bytes.
    	//
    	// Guaranteed to always be a multiple of physPageSize on systems where
    	// physPageSize <= pageSize since we map new heap memory at a size larger than
    	// any physPageSize and released memory in multiples of the physPageSize.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  3. src/runtime/mheap.go

    		// least ask bytes in size.
    		nBase = alignUp(h.curArena.base+ask, physPageSize)
    	}
    
    	// Grow into the current arena.
    	v := h.curArena.base
    	h.curArena.base = nBase
    
    	// Transition the space we're going to use from Reserved to Prepared.
    	//
    	// The allocation is always aligned to the heap arena
    	// size which is always > physPageSize, so its safe to
    	// just add directly to heapReleased.
    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