- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for nextSpanForSweep (0.18 sec)
-
src/runtime/mgcsweep.go
func (s sweepClass) split() (spc spanClass, full bool) { return spanClass(s >> 1), s&1 == 0 } // nextSpanForSweep finds and pops the next span for sweeping from the // central sweep buffers. It returns ownership of the span to the caller. // Returns nil if no such span exists. func (h *mheap) nextSpanForSweep() *mspan { sg := h.sweepgen for sc := sweep.centralIndex.load(); sc < numSweepClasses; sc++ { spc, full := sc.split()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0)