Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for STWReason (0.22 sec)

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

    }
    
    type STWReason int
    
    const (
    	STWUnknown                 STWReason = 0
    	STWGCMarkTermination       STWReason = 1
    	STWGCSweepTermination      STWReason = 2
    	STWWriteHeapDump           STWReason = 3
    	STWGoroutineProfile        STWReason = 4
    	STWGoroutineProfileCleanup STWReason = 5
    	STWAllGoroutinesStackTrace STWReason = 6
    	STWReadMemStats            STWReason = 7
    	STWAllThreadsSyscall       STWReason = 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  2. src/internal/trace/oldtrace.go

    		}
    	case oldtrace.EvGCStart:
    		mappedType = go122.EvGCBegin
    	case oldtrace.EvGCDone:
    		mappedType = go122.EvGCEnd
    	case oldtrace.EvSTWStart:
    		sid := it.builtinToStringID[sSTWUnknown+it.trace.STWReason(ev.Args[0])]
    		it.lastStwReason = sid
    		mappedType = go122.EvSTWBegin
    		mappedArgs = timedEventArgs{uint64(sid)}
    	case oldtrace.EvSTWDone:
    		mappedType = go122.EvSTWEnd
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. src/runtime/proc.go

    	return gp.atomicstatus.CompareAndSwap(_Gpreempted, _Gwaiting)
    }
    
    // stwReason is an enumeration of reasons the world is stopping.
    type stwReason uint8
    
    // Reasons to stop-the-world.
    //
    // Avoid reusing reasons and add new ones instead.
    const (
    	stwUnknown                     stwReason = iota // "unknown"
    	stwGCMarkTerm                                   // "GC mark termination"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  4. src/runtime/traceruntime.go

    	// N.B. Only one GC can be running at a time, so this is naturally
    	// serialized by the caller.
    	trace.seqGC++
    }
    
    // STWStart traces a STWBegin event.
    func (tl traceLocker) STWStart(reason stwReason) {
    	// Although the current P may be in _Pgcstop here, we model the P as running during the STW. This deviates from the
    	// runtime's state tracking, but it's more accurate and doesn't result in any loss of information.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top