Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for STWStart (0.08 sec)

  1. 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
    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/runtime/trace.go

    	//
    	// N.B. This will also emit a status event for this goroutine.
    	tl := traceAcquire()
    	tl.Gomaxprocs(gomaxprocs)  // Get this as early in the trace as possible. See comment in traceAdvance.
    	tl.STWStart(stwStartTrace) // We didn't trace this above, so trace it now.
    
    	// Record the fact that a GC is active, if applicable.
    	if gcphase == _GCmark || gcphase == _GCmarktermination {
    		tl.GCActive()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top