Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for morestackc (0.14 sec)

  1. src/runtime/signal_windows.go

    	// Check if we are running on g0 stack, and if we are,
    	// call fn directly instead of creating the closure.
    	// for the systemstack argument.
    	//
    	// A closure can't be marked as nosplit, so it might
    	// call morestack if we are at the g0 stack limit.
    	// If that happens, the runtime will call abort
    	// and end up in sigtrampgo again.
    	// TODO: revisit this workaround if/when closures
    	// can be compiled as nosplit.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  2. test/nosplit.go

    start 136 nosplit call f; f 0 nosplit; REJECT
    
    # Calling a splitting function from a nosplit function requires
    # having room for the saved caller PC of the call but also the
    # saved caller PC for the call to morestack.
    # Architectures differ in the same way as before.
    start 96 nosplit call f; f 0 call f
    start 100 nosplit call f; f 0 call f; REJECT ppc64 ppc64le
    start 104 nosplit call f; f 0 call f; REJECT ppc64 ppc64le amd64 arm64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec.js

    					// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
    					// function. A goroutine can switch to a new stack if the current stack is too small (see morestack function).
    					// This changes the SP, thus we have to update the SP used by the imported function.
    
    					// func wasmExit(code int32)
    					"runtime.wasmExit": (sp) => {
    						sp >>>= 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. src/runtime/preempt.go

    		// here we'll see a seemingly self-recursive call, which is in
    		// fact not.
    		// This is normally ok, as we use the return address saved on
    		// stack for unwinding, not the LR value. But if this is a
    		// call to morestack, we haven't created the frame, and we'll
    		// use the LR for unwinding, which will be bad.
    		return false, 0
    	}
    	up, startpc := pcdatavalue2(f, abi.PCDATA_UnsafePoint, pc)
    	if up == abi.UnsafePointUnsafe {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/runtime/HACKING.md

    for execution.
    
    nosplit functions
    -----------------
    
    Most functions start with a prologue that inspects the stack pointer
    and the current G's stack bound and calls `morestack` if the stack
    needs to grow.
    
    Functions can be marked `//go:nosplit` (or `NOSPLIT` in assembly) to
    indicate that they should not get this prologue. This has several
    uses:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/runtime/asm_amd64.s

    	MOVQ	0(AX), AX
    	CALL	AX
    
    	// should never return
    	CALL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    // calling the scheduler calling newm calling gc), so we must
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  7. src/runtime/asm_ppc64x.s

    	// should never return
    	CALL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    // Caller has already loaded:
    // R3: framesize, R4: argsize, R5: LR
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    // calling the scheduler calling newm calling gc), so we must
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  8. src/runtime/asm_arm64.s

    	// should never return
    	CALL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    // Caller has already loaded:
    // R3 prolog's LR (R30)
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    // calling the scheduler calling newm calling gc), so we must
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/wasm/ssa.go

       Prologue:
        - initialize local SP from global SP
        - jump to the location indicated by the block ID argument
          (which appears in local variable 0)
        - at block 0
          - check for Go stack overflow, call morestack if needed
          - subtract frame size from SP
          - note that arguments now start at SP+framesize+8
    
       Normal epilogue:
        - pop frame from Go stack
        - pop return address from Go stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  10. src/runtime/stubs.go

    // these functions, which is in
    // cmd/compile/internal/devirtualize/pgo.maybeDevirtualizeFunctionCall.
    func getclosureptr() uintptr
    
    //go:noescape
    func asmcgocall(fn, arg unsafe.Pointer) int32
    
    func morestack()
    
    // morestack_noctxt should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/cloudwego/frugal
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top