Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 336 for Atack (0.03 sec)

  1. test/linknameasm.dir/x.go

    // Test that a linkname applied on an assembly declaration
    // does not affect stack map generation.
    
    package main
    
    import (
    	"runtime"
    	_ "unsafe"
    )
    
    //go:linkname asm
    func asm(*int)
    
    func main() {
    	x := new(int)
    	asm(x)
    }
    
    // called from asm
    func callback() {
    	runtime.GC() // scan stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 451 bytes
    - Viewed (0)
  2. src/runtime/traceruntime.go

    //
    // nosplit because it's called on the syscall path when stack movement is forbidden.
    //
    //go:nosplit
    func (tl traceLocker) ok() bool {
    	return tl.gen != 0
    }
    
    // traceRelease indicates that this M is done writing trace events.
    //
    // nosplit because it's called on the syscall path when stack movement is forbidden.
    //
    //go:nosplit
    func traceRelease(tl traceLocker) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. test/fixedbugs/issue16016.go

    		_ = v
    	}
    }
    
    type R struct{ *T }
    
    type Q interface {
    	Foo([]interface{})
    }
    
    func main() {
    	var count = 10000
    	if runtime.Compiler == "gccgo" {
    		// On targets without split-stack libgo allocates
    		// a large stack for each goroutine. On 32-bit
    		// systems this test can run out of memory.
    		const intSize = 32 << (^uint(0) >> 63) // 32 or 64
    		if intSize < 64 {
    			count = 100
    		}
    	}
    
    	var q Q = &R{&T{}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:39:06 UTC 2024
    - 877 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/mergelocals_test.go

    	testenv.MustHaveGoBuild(t)
    
    	// This test does a build of a specific canned package to
    	// check whether merging of stack slots is taking place.
    	// The idea is to do the compile with a trace option turned
    	// on and then pick up on the frame offsets of specific
    	// variables.
    	//
    	// Stack slot merging is a greedy algorithm, and there can
    	// be many possible ways to overlap a given set of candidate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/runtime/mstats.go

    	// freed.
    	HeapObjects uint64
    
    	// Stack memory statistics.
    	//
    	// Stacks are not considered part of the heap, but the runtime
    	// can reuse a span of heap memory for stack memory, and
    	// vice-versa.
    
    	// StackInuse is bytes in stack spans.
    	//
    	// In-use stack spans have at least one stack in them. These
    	// spans can only be used for other stacks of the same size.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. src/runtime/mgc.go

    		}
    
    		systemstack(func() {
    			// Mark our goroutine preemptible so its stack
    			// can be scanned. This lets two mark workers
    			// scan each other (otherwise, they would
    			// deadlock). We must not modify anything on
    			// the G stack. However, stack shrinking is
    			// disabled for mark workers, so it is safe to
    			// read from the G stack.
    			//
    			// N.B. The execution tracer is not aware of this status
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  7. src/runtime/mwbbuf.go

    	// the buffer if the stack has been shaded, or even avoid
    	// putting them in the buffer at all (which would double its
    	// capacity). This is slightly complicated with the buffer; we
    	// could track whether any un-shaded goroutine has used the
    	// buffer, or just track globally whether there are any
    	// un-shaded stacks and flush after each stack scan.
    	gcw := &pp.gcw
    	pos := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. src/runtime/mklockrank.go

    profMemActive < profMemFuture;
    
    # Stack allocation and copying
    gcBitsArenas,
      netpollInit,
      profBlock,
      profInsert,
      profMemFuture,
      spanSetSpine,
      fin,
      root
    # Anything that can grow the stack can acquire STACKGROW.
    # (Most higher layers imply STACKGROW, like MALLOC.)
    < STACKGROW
    # Below STACKGROW is the stack allocator/copying implementation.
    < gscan;
    gscan < stackpool;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/runtime/nonwindows_stub.go

    func enableWER() {}
    
    // winlibcall is not implemented on non-Windows systems,
    // but it is used in non-OS-specific parts of the runtime.
    // Define it as an empty struct to avoid wasting stack space.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 03:12:13 UTC 2024
    - 962 bytes
    - Viewed (0)
  10. src/net/http/pprof/pprof.go

    }
    
    var profileDescriptions = map[string]string{
    	"allocs":       "A sampling of all past memory allocations",
    	"block":        "Stack traces that led to blocking on synchronization primitives",
    	"cmdline":      "The command line invocation of the current program",
    	"goroutine":    "Stack traces of all current goroutines. Use debug=2 as a query parameter to export in the same format as an unrecovered panic.",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:34:05 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top