- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for _Pgcstop (0.09 sec)
-
src/runtime/runtime2.go
// after a syscall, it must understand the P may have been // used by another M in the interim. _Psyscall // _Pgcstop means a P is halted for STW and owned by the M // that stopped the world. The M that stopped the world // continues to use its P, even in _Pgcstop. Transitioning // from _Prunning to _Pgcstop causes an M to release its P and // park. // // The P retains its run queue and startTheWorld will restart
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/runtime/traceruntime.go
// 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) -
src/runtime/mstats.go
s.IdleTime += sched.idleTime.Load() // Compute userTime. We compute this indirectly as everything that's not the above. // // Since time spent in _Pgcstop is covered by gcPauseTime, and time spent in _Pidle // is covered by idleTime, what we're left with is time spent in _Prunning and _Psyscall, // the latter of which is fine because the P will either go idle or get used for something
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 34.2K bytes - Viewed (0)