- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for FinishGCTransition (0.43 sec)
-
src/runtime/mgclimit.go
// now must be the timestamp from the end of the STW pause. func (l *gcCPULimiterState) finishGCTransition(now int64) { if !l.transitioning { throw("finishGCTransition called without starting one?") } // Count the full nprocs set of CPU time because the world is stopped // between startGCTransition and finishGCTransition. Even though the GC // isn't running on all CPUs, it is preventing user code from doing so,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 22:07:41 UTC 2024 - 17.3K bytes - Viewed (0) -
src/runtime/export_test.go
} func (l *GCCPULimiter) StartGCTransition(enableGC bool, now int64) { l.limiter.startGCTransition(enableGC, now) } func (l *GCCPULimiter) FinishGCTransition(now int64) { l.limiter.finishGCTransition(now) } func (l *GCCPULimiter) Update(now int64) { l.limiter.update(now) } func (l *GCCPULimiter) AddAssistTime(t int64) { l.limiter.addAssistTime(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/runtime/mgc.go
// Concurrent mark. systemstack(func() { now = startTheWorldWithSema(0, stw) work.pauseNS += now - stw.startedStopping work.tMark = now // Release the CPU limiter. gcCPULimiter.finishGCTransition(now) }) // Release the world sema before Gosched() in STW mode // because we will need to reacquire it later but before // this goroutine becomes runnable again, and we could // self-deadlock otherwise.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0)