• Austin Clements's avatar
    runtime: combine gcWorkProducer into gcWork · cadd4f81
    Austin Clements authored
    The distinction between gcWorkProducer and gcWork (producer and
    consumer) is not serving us as originally intended, so merge these
    into just gcWork.
    
    The original intent was to replace the currentwbuf cache with a
    gcWorkProducer. However, with gchelpwork (aka mutator assists),
    mutators can both produce and consume work, so it will make more sense
    to cache a whole gcWork.
    
    Change-Id: I6e633e96db7cb23a64fbadbfc4607e3ad32bcfb3
    Reviewed-on: https://go-review.googlesource.com/7733Reviewed-by: default avatarRick Hudson <rlh@golang.org>
    cadd4f81
mgcmark.go 19 KB