Home | History | Annotate | Download | only in runtime

Lines Matching refs:spans

28 //    b. Sweep any unswept spans. There will only be unswept spans if
84 // are white, and allocating sweeps spans before use if necessary.
97 // At the end of STW mark termination all spans are marked as "needs sweeping".
99 // The background sweeper goroutine simply sweeps spans one-by-one.
101 // To avoid requesting more OS memory while there are unswept spans, when a
104 // sweeps small-object spans for the same object size until it frees at least
106 // it sweeps spans until it frees at least that many pages into heap. There is
108 // nonadjacent one-page spans to the heap, it will allocate a new two-page
109 // span, but there can still be other one-page unswept spans which could be
112 // It's critical to ensure that no operations proceed on unswept spans (that would corrupt
117 // The finalizer goroutine is kicked off only when all spans are swept.
118 // When the next GC starts, it sweeps all not-yet-swept spans (if any).
943 // Pick up the remaining unswept/not being swept spans concurrently
948 // few spans unswept. In forced mode, this is necessary since
1337 // Free stack spans. This must be done between GC cycles.
1785 // Sweep all spans eagerly.