Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for stacksplit (0.11 sec)

  1. src/cmd/link/internal/ld/stackcheck.go

    	// depth, the stack check test fails.
    	//
    	// The call to morestack in every splittable function ensures
    	// that there are at least StackLimit bytes available below SP
    	// when morestack returns.
    	limit := objabi.StackNosplit(*flagRace) - sc.callSize
    	if buildcfg.GOARCH == "arm64" {
    		// Need an extra 8 bytes below SP to save FP.
    		limit -= 8
    	}
    
    	// Compute stack heights without any back-tracking information.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. src/runtime/preempt.go

    	f = findfunc(abi.FuncPCABIInternal(asyncPreempt2))
    	total += funcMaxSPDelta(f)
    	// Add some overhead for return PCs, etc.
    	asyncPreemptStack = uintptr(total) + 8*goarch.PtrSize
    	if asyncPreemptStack > stackNosplit {
    		// We need more than the nosplit limit. This isn't
    		// unsafe, but it may limit asynchronous preemption.
    		//
    		// This may be a problem if we start using more
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top