Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for stackGuardMultiplier (0.23 sec)

  1. src/cmd/internal/objabi/stack.go

    	// This arithmetic must match that in runtime/stack.go:stackNosplit.
    	return abi.StackNosplitBase * stackGuardMultiplier(race)
    }
    
    // stackGuardMultiplier returns a multiplier to apply to the default
    // stack guard size. Larger multipliers are used for non-optimized
    // builds that have larger stack frames or for specific targets.
    func stackGuardMultiplier(race bool) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 904 bytes
    - Viewed (0)
  2. src/runtime/sys_wasm.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"internal/goarch"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    type m0Stack struct {
    	_ [8192 * sys.StackGuardMultiplier]byte
    }
    
    var wasmStack m0Stack
    
    func wasmDiv()
    
    func wasmTruncS()
    func wasmTruncU()
    
    //go:wasmimport gojs runtime.wasmExit
    func wasmExit(code int32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 758 bytes
    - Viewed (0)
  3. src/runtime/internal/sys/consts.go

    )
    
    // AIX requires a larger stack for syscalls.
    // The race build also needs more stack. See issue 54291.
    // This arithmetic must match that in cmd/internal/objabi/stack.go:stackGuardMultiplier.
    const StackGuardMultiplier = 1 + goos.IsAix + isRace
    
    // DefaultPhysPageSize is the default physical page size.
    const DefaultPhysPageSize = goarch.DefaultPhysPageSize
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. src/runtime/stack.go

    	// stackNosplit is the maximum number of bytes that a chain of NOSPLIT
    	// functions can use.
    	// This arithmetic must match that in cmd/internal/objabi/stack.go:StackNosplit.
    	stackNosplit = abi.StackNosplitBase * sys.StackGuardMultiplier
    
    	// The stack guard is a pointer this many bytes above the
    	// bottom of the stack.
    	//
    	// The guard leaves enough room for a stackNosplit chain of NOSPLIT calls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    		// We set hi to &size, but there are things above
    		// it. The 1024 is supposed to compensate this,
    		// but is somewhat arbitrary.
    		size := gp.stack.hi
    		if size == 0 {
    			size = 16384 * sys.StackGuardMultiplier
    		}
    		gp.stack.hi = uintptr(noescape(unsafe.Pointer(&size)))
    		gp.stack.lo = gp.stack.hi - size + 1024
    	}
    	// Initialize stack guard so that we can start calling regular
    	// Go code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top