- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for partialUnswept (0.1 sec)
-
src/runtime/mcentral.go
} // partialUnswept returns the spanSet which holds partially-filled // unswept spans for this sweepgen. func (c *mcentral) partialUnswept(sweepgen uint32) *spanSet { return &c.partial[1-sweepgen/2%2] } // partialSwept returns the spanSet which holds partially-filled // swept spans for this sweepgen. func (c *mcentral) partialSwept(sweepgen uint32) *spanSet { return &c.partial[sweepgen/2%2]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.1K bytes - Viewed (0) -
src/runtime/mgcsweep.go
for sc := sweep.centralIndex.load(); sc < numSweepClasses; sc++ { spc, full := sc.split() c := &h.central[spc].mcentral var s *mspan if full { s = c.fullUnswept(sg).pop() } else { s = c.partialUnswept(sg).pop() } if s != nil { // Write down that we found something so future sweepers // can start from here. sweep.centralIndex.update(sc) return s } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0)