Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GoNotExist (0.32 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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