- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for stealID (0.13 sec)
-
src/internal/trace/order.go
// // Also, treat this as if we lost our P too. // The thread ID may be reused by the platform and we'll get // really confused if we try to steal the P is this is running // with later. The new M with the same ID could even try to // steal back this P from itself! // // The runtime is careful to make sure that any GoCreateSyscall // event will enter the runtime emitting events for reacquiring a P. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0) -
src/runtime/mgcmark.go
scanWork = gcOverAssistWork debtBytes = int64(assistBytesPerWork * float64(scanWork)) } // Steal as much credit as we can from the background GC's // scan credit. This is racy and may drop the background // credit below 0 if two mutators steal at the same time. This // will just cause steals to fail until credit is accumulated // again, so in the long run it doesn't really matter, but we
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 52.5K bytes - Viewed (0) -
src/runtime/mgcpacer.go
// accumulate locally before updating gcController.heapScanWork and, // optionally, gcController.bgScanCredit. Lower values give a more // accurate assist ratio and make it more likely that assists will // successfully steal background credit. Higher values reduce memory // contention. gcCreditSlack = 2000 // gcAssistTimeSlack is the nanoseconds of mutator assist time that // can accumulate on a P before updating gcController.assistTime.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 55.4K bytes - Viewed (0) -
src/runtime/mgc.go
// beginning of this GC cycle. initialHeapLive uint64 // assistQueue is a queue of assists that are blocked because // there was neither enough credit to steal or enough work to // do. assistQueue struct { lock mutex q gQueue } // sweepWaiters is a list of blocked goroutines to wake when // we transition from mark termination to sweep.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
func (l *Loader) resolve(r *oReader, s goobj.SymRef) Sym { var rr *oReader switch p := s.PkgIdx; p { case goobj.PkgIdxInvalid: // {0, X} with non-zero X is never a valid sym reference from a Go object. // We steal this space for symbol references from external objects. // In this case, X is just the global index. if l.isExtReader(r) { return Sym(s.SymIdx) } if s.SymIdx != 0 { panic("bad sym ref") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0)