Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for GoNotExist (0.13 sec)

  1. 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)
  2. src/internal/trace/summary_test.go

    				t.Errorf("found region start event for the wrong resource: wanted goroutine %d, got %s", goid, st.Resource)
    			}
    			if old, _ := st.Goroutine(); old != trace.GoNotExist && old != trace.GoUndetermined {
    				t.Errorf("expected transition from GoNotExist or GoUndetermined, got transition from %s instead", old)
    			}
    		}
    	default:
    		t.Errorf("unexpected want start event type: %s", wantStart)
    	}
    
    	switch wantEnd {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/internal/trace/resources.go

    //
    // New GoStates may be added in the future. Users of this type must be robust
    // to that possibility.
    type GoState uint8
    
    const (
    	GoUndetermined GoState = iota // No information is known about the goroutine.
    	GoNotExist                    // Goroutine does not exist.
    	GoRunnable                    // Goroutine is runnable but not running.
    	GoRunning                     // Goroutine is running.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/cmd/trace/threadgen.go

    		}
    		gs.start(start, ev.Thread(), ctx)
    	}
    
    	if from == trace.GoWaiting {
    		// Goroutine was unblocked.
    		gs.unblock(ev.Time(), ev.Stack(), ev.Thread(), ctx)
    	}
    	if from == trace.GoNotExist && to == trace.GoRunnable {
    		// Goroutine was created.
    		gs.created(ev.Time(), ev.Thread(), ev.Stack())
    	}
    	if from == trace.GoSyscall {
    		// Exiting syscall.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/cmd/trace/goroutinegen.go

    			start = ctx.startTime
    		}
    		gs.start(start, goID, ctx)
    	}
    
    	if from == trace.GoWaiting {
    		// Goroutine unblocked.
    		gs.unblock(ev.Time(), ev.Stack(), ev.Goroutine(), ctx)
    	}
    	if from == trace.GoNotExist && to == trace.GoRunnable {
    		// Goroutine was created.
    		gs.created(ev.Time(), ev.Goroutine(), ev.Stack())
    	}
    	if from == trace.GoSyscall && to != trace.GoRunning {
    		// Exiting blocked syscall.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/internal/trace/testtrace/validation.go

    				e.Errorf("transition to undetermined state for goroutine %d", id)
    			}
    			if v.seenSync && old == trace.GoUndetermined {
    				e.Errorf("undetermined goroutine %d after first global sync", id)
    			}
    			if new == trace.GoNotExist && v.hasAnyRange(trace.MakeResourceID(id)) {
    				e.Errorf("goroutine %d died with active ranges", id)
    			}
    			state, ok := v.gs[id]
    			if ok {
    				if old != state.state {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/trace/procgen.go

    			start = ctx.startTime
    		}
    		gs.start(start, ev.Proc(), ctx)
    	}
    
    	if from == trace.GoWaiting {
    		// Goroutine was unblocked.
    		gs.unblock(ev.Time(), ev.Stack(), ev.Proc(), ctx)
    	}
    	if from == trace.GoNotExist && to == trace.GoRunnable {
    		// Goroutine was created.
    		gs.created(ev.Time(), ev.Proc(), ev.Stack())
    	}
    	if from == trace.GoSyscall && to != trace.GoRunning {
    		// Goroutine exited a blocked syscall.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. src/internal/trace/event.go

    		}
    		s = goStateTransition(GoID(e.base.args[0]), GoNotExist, status)
    		s.Stack = Stack{table: e.table, id: stackID(e.base.args[1])}
    	case go122.EvGoCreateSyscall:
    		s = goStateTransition(GoID(e.base.args[0]), GoNotExist, GoSyscall)
    	case go122.EvGoStart:
    		s = goStateTransition(GoID(e.base.args[0]), GoRunnable, GoRunning)
    	case go122.EvGoDestroy:
    		s = goStateTransition(e.ctx.G, GoRunning, GoNotExist)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  9. src/internal/trace/summary.go

    			if old == new {
    				// Skip these events; they're not telling us anything new.
    				break
    			}
    
    			// Handle transition out.
    			g := s.gs[id]
    			switch old {
    			case GoUndetermined, GoNotExist:
    				g = &GoroutineSummary{ID: id, goroutineSummary: &goroutineSummary{}}
    				// If we're coming out of GoUndetermined, then the creation time is the
    				// time of the last sync.
    				if old == GoUndetermined {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top