Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 139 for Gdead (0.05 sec)

  1. src/internal/trace/internal/oldtrace/order.go

    	case EvGoUnblockLocal, EvGoSysExitLocal:
    		g = ev.Args[0]
    		init = gState{noseq, gWaiting}
    		next = gState{seqinc, gRunnable}
    		return
    	case EvGCStart:
    		g = garbage
    		init = gState{ev.Args[0], gDead}
    		next = gState{ev.Args[0] + 1, gDead}
    		return
    	default:
    		// no ordering requirements
    		g = unordered
    		return
    	}
    }
    
    func transitionReady(g uint64, curr, init gState) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/cmd/trace/viewer.go

    		return true
    	})
    	return frames
    }
    
    func viewerGState(state trace.GoState, inMarkAssist bool) traceviewer.GState {
    	switch state {
    	case trace.GoUndetermined:
    		return traceviewer.GDead
    	case trace.GoNotExist:
    		return traceviewer.GDead
    	case trace.GoRunnable:
    		return traceviewer.GRunnable
    	case trace.GoRunning:
    		return traceviewer.GRunning
    	case trace.GoWaiting:
    		if inMarkAssist {
    			return traceviewer.GWaitingGC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/emitter.go

    type heapStats struct {
    	heapAlloc uint64
    	nextGC    uint64
    }
    
    func viewerTime(t time.Duration) float64 {
    	return float64(t) / float64(time.Microsecond)
    }
    
    type GState int
    
    const (
    	GDead GState = iota
    	GRunnable
    	GRunning
    	GWaiting
    	GWaitingGC
    
    	gStateCount
    )
    
    type ThreadState int
    
    const (
    	ThreadStateInSyscall ThreadState = iota
    	ThreadStateInSyscallRuntime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. src/internal/trace/internal/oldtrace/parser.go

    // (for example, a P does not run two Gs at the same time, or a G is indeed
    // blocked before an unblock event).
    func (p *parser) postProcessTrace(events Events) error {
    	const (
    		gDead = iota
    		gRunnable
    		gRunning
    		gWaiting
    	)
    	type gdesc struct {
    		state        int
    		ev           *Event
    		evStart      *Event
    		evCreate     *Event
    		evMarkAssist *Event
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  5. src/runtime/runtime2.go

    	// goroutines to the end of the run queue.
    	//
    	// Note that while other P's may atomically CAS this to zero,
    	// only the owner P can CAS it to a valid G.
    	runnext guintptr
    
    	// Available G's (status == Gdead)
    	gFree struct {
    		gList
    		n int32
    	}
    
    	sudogcache []*sudog
    	sudogbuf   [128]*sudog
    
    	// Cache of mspan objects from the heap.
    	mspancache struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  6. src/runtime/proc.go

    		newg = malg(stackMin)
    		casgstatus(newg, _Gidle, _Gdead)
    		allgadd(newg) // publishes with a g->status of Gdead so GC scanner doesn't look at uninitialized stack.
    	}
    	if newg.stack.hi == 0 {
    		throw("newproc1: newg missing stack")
    	}
    
    	if readgstatus(newg) != _Gdead {
    		throw("newproc1: new g is not Gdead")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  7. src/internal/zstd/testdata/1890a371.gettysburg.txt-100x.zst

    unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us - that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion - that we here highly resolve that these dead shall not have died in vain - that this nation, under God, shall have a new birth of freedom - and that government of the people, by the people, for the people, shall not perish...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 14:35:13 UTC 2023
    - 826 bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/html.go

    .dead-block.highlight-palegreen,
    .dead-value span.highlight-skyblue,
    .dead-block.highlight-skyblue,
    .dead-value span.highlight-lightgray,
    .dead-block.highlight-lightgray,
    .dead-value span.highlight-yellow,
    .dead-block.highlight-yellow,
    .dead-value span.highlight-lime,
    .dead-block.highlight-lime,
    .dead-value span.highlight-khaki,
    .dead-block.highlight-khaki,
    .dead-value span.highlight-aqua,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    	// Do a complete pass to compute dead nodes.
    	dead := make(map[ast.Node]bool)
    	nodeFilter := []ast.Node{
    		(*ast.IfStmt)(nil),
    		(*ast.SwitchStmt)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		// TODO(adonovan): move updateDead into this file.
    		updateDead(pass.TypesInfo, dead, n)
    	})
    
    	nodeFilter = []ast.Node{
    		(*ast.AssignStmt)(nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/deadcode.go

    		}
    	})
    
    	// Remove dead values from blocks' value list. Return dead
    	// values to the allocator.
    	for _, b := range f.Blocks {
    		i := 0
    		for _, v := range b.Values {
    			if live[v.ID] {
    				b.Values[i] = v
    				i++
    			} else {
    				f.freeValue(v)
    			}
    		}
    		b.truncateValues(i)
    	}
    
    	// Remove unreachable blocks. Return dead blocks to allocator.
    	i = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top