Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 229 for Atack (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/internal/trace/oldtrace.go

    		// timestamp, M, P, G, stack. However, after they get turned into Event,
    		// they have the arguments stack, M, P, G.
    		//
    		// In Go 1.21, CPU samples did not have Ms.
    		mappedArgs = timedEventArgs{uint64(ev.StkID), ^uint64(0), uint64(ev.P), ev.G}
    	default:
    		return Event{}, fmt.Errorf("unexpected event type %v", ev.Type)
    	}
    
    	if oldtrace.EventDescriptions[ev.Type].Stack {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/rsc.io/markdown/inline.go

    	return p.list
    }
    
    func (ps *parseState) emph(dst, src []Inline) []Inline {
    	const chars = "_*~\"'"
    	var stack [len(chars)][]*emphPlain
    	stackOf := func(c byte) int {
    		return strings.IndexByte(chars, c)
    	}
    
    	trimStack := func() {
    		for i := range stack {
    			stk := &stack[i]
    			for len(*stk) > 0 && (*stk)[len(*stk)-1].i >= len(dst) {
    				*stk = (*stk)[:len(*stk)-1]
    			}
    		}
    	}
    
    Src:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. src/log/slog/value.go

    			rv = AnyValue(fmt.Errorf("LogValue panicked\n%s", stack(3, 5)))
    		}
    	}()
    
    	for i := 0; i < maxLogValues; i++ {
    		if v.Kind() != KindLogValuer {
    			return v
    		}
    		v = v.LogValuer().LogValue()
    	}
    	err := fmt.Errorf("LogValue called too many times on Value of type %T", orig.Any())
    	return AnyValue(err)
    }
    
    func stack(skip, nFrames int) string {
    	pcs := make([]uintptr, nFrames+1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/cmd/trace/jsontrace_test.go

    	}
    }
    
    // filterStackRootFunc returns an event filter that returns true if the function
    // at the root of the stack trace is named name.
    func filterStackRootFunc(name string) eventFilterFn {
    	return func(e *format.Event, data *format.Data) bool {
    		frames := stackFrames(data, e.Stack)
    		rootFrame := frames[len(frames)-1]
    		return strings.HasPrefix(rootFrame, name+":")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/cmd/trace/gstate.go

    func (gs *gState[R]) setStartCause(ts trace.Time, name string, resource uint64, stack trace.Stack) {
    	gs.startCause.time = ts
    	gs.startCause.name = name
    	gs.startCause.resource = resource
    	gs.startCause.stack = stack
    }
    
    // created indicates that this goroutine was just created by the provided creator.
    func (gs *gState[R]) created(ts trace.Time, creator R, stack trace.Stack) {
    	if creator == R(noResource) {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top