• Austin Clements's avatar
    runtime: eliminate allspans snapshot · 575b1dda
    Austin Clements authored
    Now that sweeping and span marking use the sweep list, there's no need
    for the work.spans snapshot of the allspans list. This change
    eliminates the few remaining uses of it, which are either dead code or
    can use allspans directly, and removes work.spans and its support
    functions.
    
    Change-Id: Id5388b42b1e68e8baee853d8eafb8bb4ff95bb43
    Reviewed-on: https://go-review.googlesource.com/30537
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    575b1dda
mgc.go 63.1 KB